Remix.run Logo
knubie 2 days ago

I stopped using tmux when I started using kitty terminal with native split windows. I prefer the native window management of kitty, but I do miss the session saving of tmux (e.g. if I accidentally close a tab).

kjs3 2 days ago | parent | next [-]

but I do miss the session saving of tmux

Interesting...I kinda thought that was 90% of the use case for using tmux.

qudat 2 days ago | parent | prev | next [-]

Check out: https://github.com/neurosnap/zmx

It uses libghostty to restore scrollback history and terminal state.

leephillips 2 days ago | parent | prev | next [-]

Recent versions of Kitty have sessions. https://sw.kovidgoyal.net/kitty/sessions/

jpeeler 2 days ago | parent [-]

I was going to say, but zellij doesn't connect the session to the GUI. However, I did not know about kitty's --use-foreground-process, which doesn't solve the problem completely but may be good enough.

https://sw.kovidgoyal.net/kitty/sessions/#more-complex-sessi...

orbital-decay 2 days ago | parent | prev [-]

There are many separate session persistence daemons: dtach, zmx, hauntty, shpool, diss, abduco - take your pick

0xbadcafebee 2 days ago | parent [-]

screen's another nice one. been using it for 25 years, so far so good

vessenes 2 days ago | parent [-]

I used screen until like 2010 or so -- but you triggered me to look back at it again today. One nicety there now is that you can easily get a dump of what's showing in the pty with screen -S <session_name> -X hardcopy. This is actually somewhat hard to do in tmux, but it's a thing you want your AI agents to do all the time. I'm curious if claude / codex are comfortable with screen, I'll check it out.