I use tmux when working on my desktop, and then if I want to work outside on my laptop I ssh over to the desktop and attach to the same session. Then when I close my laptop and go back inside, the session visible on my desktop is shrunken to show only the rows/columns available on my smaller laptop screen. Without opening up my laptop again, is there some way to force the laptop to detach from the session? Or at least to resize tmux to use all the available space on my desktop screen?
<prefix> D gives you a list of connected clients, and which ever you select is disconnected.
You can also use
choose-client from the command line as an augment to tmux, or at tmux's command line
where prefix is
C-b by default