News for hackers. Stuff that matters.
Re:Tmux is worse-is-better by nephanth on Saturday May 25, 2024 @02:28PM (#40476899)
Imo, the killer feature of tmux is that not only does it persist your shell, it persists your workspace. If I ssh into my server, i'm going to find my whole session as i left it, with the same tabbing / panes.

This is a need kitty+screen doesn't answer. If I close kitty & reopen it, i'll have to re-split every individual pane, and reconnect each of them and reattach them to the right persistent screen pts...

Infact if there was a way to handle that "workspace-persistence" with terminal emulator-based workspaces, I'd ditch tmux in a minute

EDIT: now that i think about it, this could maybe be achieved by keeping the terminal multiplexer's "server", but having the terminal emulator act as a client to it

Re:Tmux is worse-is-better by cbarrick on Saturday May 25, 2024 @07:11PM (#40478524)
> EDIT: now that i think about it, this could maybe be achieved by keeping the terminal multiplexer's "server", but having the terminal emulator act as a client to it

This is exactly what iTerm2 tmux integration does. Tmux exposes a "raw" control mode by starting it with the -C flag. iTerm2 uses this to convert tmux windows into native tabs/windows, complete with workspace persistence.

AFAIK, iTerm2 is the only terminal emulator to integrate with -C controle mode, which is probably the main thing that keeps me on macOS over Linux.

Re:Tmux is worse-is-better by n4s33r on Friday May 31, 2024 @02:18PM (#40538583)
iterm2 tmux integration is the bees knees - I didn't find anything like it elsewhere.