When I resize a terminal window containing a tmux session, tmux doesn't detect this change, but continues to function normally within the old window boundaries. tmux ls
shows no other attached clients before I attach:
$ tmux ls
admin: 1 windows (created Mon Apr 27 15:12:58 2015) [272x75]
apt-runs: 3 windows (created Mon Apr 27 15:17:50 2015) [272x75]
lal-dev: 4 windows (created Tue Jun 9 12:24:25 2015) [238x73]
This only happens with a particular host (running tmux 1.9a), and detaching/reattaching fixes the issue (until the window is resized again). What might be causing this?
Before resize:
After resize:
tmux ls
shows no other clients. I've clarified this in the question.resize
in the shell running in tmux resolves the problem, until the terminal window is resized again. This is slightly different from what @saterHater said below. He seemed to suggest that you need to detach tmux before issuing this command.