2

Connected to my box via Putty.exe

$ tmux list-clients
/dev/pts/2: 1 [80x24 xterm-256color] (utf8)                                     
/dev/pts/9: 1 [94x30 linux] (utf8) 

$ tmux detach-client -t /dev/pts/2

the terminal flashes resizing the window to the full 94x30 for a moment and then immediately resizes it back to 80x24

$ tmux list-clients
/dev/pts/2: 1 [80x24 xterm-256color] (utf8)                                     
/dev/pts/9: 1 [94x30 linux] (utf8) 
jcdietrich
  • 186
  • 1
  • 11

1 Answers1

2

You need to disconnect the remote client, which is attached using a smaller window. You may be able to use the Byobu hot-key Alt-F6, or run /usr/lib/byobu/include/tmux-detach-all-but-current-client

Full disclosure: I'm the author and maintainer of Byobu.

Dustin Kirkland
  • 5,323
  • 3
  • 36
  • 34