Comment by dtkav

20 days ago

ooh nice. Is there a way to get snapshots of the current view? I hacked together something with kitty and abduco but it is definitely a hack...

I dont want tmux or anything that gives me additional key bindings or modes, just the ability to pick up my work on another machine.

What do you mean by snapshots? There’s a “zmx history” command which will print whatever is stored in libghostty as plain text, or with ansi escape codes, or even html

  • I'm rendering a few dozen terminals in a website, and for all of the inactive ones i render and serve a jpg of the "current screen" of ansi escape codes from kitty.

    I've found this to be a difficult thing to get. abduco doesn't have current state, and I dont want all of the complexity of tmux. I also don't want the entire scrollback history (until i click into a given terminal and connect with xterm).

    I'll give zmx a closer look. Thank you.

    • If the terminal is in alt-screen the history will only print the current screen. Happy to brainstorm on the zmx repo if you are interested