2013-10-14

Taking over a resized tmux session.

So I use tmux quite intensively and I reuse my long lived session from my workstation and my laptop.
The thing is when you come from a low res screen to an high res screen you can land on a resized session like that :
Tmux is simply trying to accommodate to all the client currently connected. If you left open your session on your laptop at home or simply closed it quickly, you might be stuck in this situation for a while.
Here is how I unstuck myself from within tmux...
tmux detach -a
Or in your .zsh/bashrc as an alias
alias takeover="tmux detach -a"
Fixed: