Animated images in the readme are not a very good experience. I’m trying to read the output and make sense of it and it just blinks out. There’s no good reason to have animation here. We all know how text is typed in the terminal.
Or run
kitty --dump-commands program-whose-output-you-want-to-inspect
You can even save the --dump-commands output as edit it and then replay it with
kitty --dump-commands program > commands.txt
kitty --replay-commands commands.txt
Great work: this tool will be really useful to me!
(Note: the "terminal animations" in github make the examples difficult to read.)
That's fantastic. Regarding the note about output detection, here is a short tcl script that attempts to trick the app into thinking it's writing to a terminal: https://github.com/jakeogh/colorpipe
Isn't it true that ANSI sequences can vary depending on the terminal emulator? Does this program account for that somehow?
In my shell scripts I often use `tput bold` etc instead of hardcoding the sequences.
Amazing!! Love seeing these tools from charmbracelet!
On a side note - VHS and mods have been super helpful to me.
Another banger from Charm! Adding this to my tool belt for sure.
People have been posting about these Charm projects for a few years now [1]. I think they look cool and, while I know they exist, I have never found myself in a position where I want to add them to my consumer-facing projects, nor even my personal projects. Does anyone have examples of (public) non-trivial Terminal programs that make use of these libraries?
[1] https://news.ycombinator.com/from?site=github.com/charmbrace...