Once I discovered window managers and graphics, I stopped using half-baked features to emulate them in the terminal.
I use tmux to reattach to programs after the network connection dies, and not really anything else. I would welcome a version of it that stripped out everything but that, and just replayed the last few pages of scrollback on reattach.
I use tmux for everything because I work in a headless VM where a WM isn't available.
You don't have a window manager hosting the terminal window on your host OS? That's the argument being made here, you're already in some kind of tiling or windowed environment, why replicate all of that on the remote?
Because with tmux you can reattach to session from another pc or from a phone and still have the same windows and panes?
because my remote is a server that keeps running while my laptop gets rebooted frequently. i can leave a tmux session running on the server for months...
I ssh in multiple times. If I really needed to, I suppose I could use vnc.
I'm in the same boat and https://github.com/neurosnap/zmx has been working very well for me.
> I would welcome a version of it that stripped out everything but that, and just replayed the last few pages of scrollback on reattach.
Like `dtach`?
Thanks. Dtach is definitely closer to what I want than tmux, I'll be trying it out this week.
Check out shpool, whose tagline is "Think tmux, then aim... lower" :-)
https://github.com/shell-pool/shpool
Unless I'm misreading this, I would also offer `mosh` as a recommendation. Has been nothing but excellent for my use cases.
zmosh is zmx+mosh
https://github.com/mmonad/zmosh
I use iTerm2 with tmux CC mode. Works great and gives native tabs and panes.
Using mosh would help specifically with the network reconnection piece.
window manager like what though?
Mac WM is horrible, I use aerospace to make it tolerable
i3, dwm, hyprland etc...