use attach -d to resize the window of tmux