Re:How to move a running process into a tmux session (2020)
by amelius on Tuesday October 04, 2022 @07:12PM
(#33088435)
Good point.
How about starting tmux by default inside a terminal, rather than running the shell directly inside the terminal?
Of course, an ssh session would also need to start tmux.
kitty probably has some abilities to do this easily from the shell, as it has all sorts of abilities to interact programmatically with the scrollback history.