Hacker News new | ask | show | jobs
by brigandish 34 days ago
Use tmux or something like it (I now use zmx[1]).

[1] https://github.com/neurosnap/zmx

1 comments

I am not interested in workarounds.
The feature you're asking for is a terminal multiplexer. You want one built in, but to suggest terminal multiplexers are a workaround to requiring a terminal multiplexer is a stretch.
It is not a terminal multiplexer feature, it is one of the terminal software itself.

I do not know if you read my initial commment, but MacOS Terminal (native app) has this feature. And it is not a terminal multiplexer like tmux or what you proposed.

Apple's terminal reloads the history, that is a zsh feature. If you want the session fully reloaded, beyond tab arrangement, then use a terminal multiplexer. Apple's terminal does not have a terminal multiplexer built in.
Apple's Terminal and iTerm2 restores the terminal scrollback buffer on OS reboot.
Why static output history for a session/tab with reload on restart should be a multiplexer feature? I mean, the Ghostty GUI has already multiple tabs and split terminals, aren't those multiplexer features as well? I don't follow you.
I could say "it just is", but disconnecting (logically) the session from the terminal means that, by extension, things like different windows and programs continuing to run are a consequence of that:

> A terminal multiplexer... is useful for dealing with multiple programs from a command line interface, and for separating programs from the session of the Unix shell that started the program, particularly so a remote process continues running even when the user is disconnected.

https://en.wikipedia.org/wiki/Terminal_multiplexer