参考:https://stackoverflow.com/questions/7814612/is-there-any-way-to-redraw-tmux-window-when-switching-smaller-monitor-to-bigger
出现了这样的情况
原因是同一个session打开了多次
解决方法:
tmux attach -d
这样会把其余的session关闭,只留一个
或者用ctrl - B + shift - D来决定应该保留哪一个session作为显示
ou can always press CTRL-B + SHIFT-D to choose which client you want to detach from the session.
tmux will list all sessions with their current dimension. Then you simply detach from all the smaller sized sessions.