2 ms·
As I noted above, the tmux command send-prefix will send the command prefix character to the process tmux is managing. So if you open a connection to a remote s
by sls 9y ago
As I noted above, the tmux command send-prefix will send the command prefix character to the process tmux is managing. So if you open a connection to a remote system and run/connect to a tmux session there, and you have the same command prefix for both systems, you can <command prefix>:send-prefix<enter> to e.g. disconnect and reconnect from a shell that's not running tmux. If you're going to be doing this on purpose and fairly often, you might consider binding a key for send-prefix.
I would prefer not to have to remember which tmux I was talking to all the time and so I would just connect from a normal shell, but ymmv of course.