1. open a remote terminal
2. tmux command
3. press ctril+b and release and press other commend:
https://www.cnblogs.com/kevingrace/p/6496899.html
全屏某个窗口
ctrl b + z
关闭某个窗口
tmux kill-session -t 窗口名
查看所有tmux窗口(注意,一个窗口内有多个子窗口):
tmux ls
结果的第一列即为窗口的名字
进入某个tmux窗口
tmux a -t 窗口名
注意,如果已经进入tmux了则再执行这个命令会报错
start tmux:
tmux
start window in right part:
ctrl b + shift %
start window in below part:
ctrl b + shift "
move the cursor to other window:
ctrl b + ↑↓←→
scroll up and down in window:
ctrl b + pageup/pagedown
close the window:
ctrl d