我在gnome-terminal中使用tmux.
当我第一次打开一个窗口(默认大小为80x24)时,tmux条紧贴在窗口的底部.但是,当我最大化终端窗口时,tmux栏下方会出现一个令人烦恼的大间隙.
最大化的gnome-terminal tmux会话与tmux bar下的差距
这是我的.tmux.conf:
set-option -g default-command bash
# remap prefix to Control + a
unbind-key C-b
set-option -g prefix C-a
bind-key C-a send-prefix
bind-key C-a-h split-window -h #Split panes vertically
# time/no(0) time between C-a and command
set -s escape-time 0
#set-option -u repeat-time #global setting, "delete" repeat-time
set-option -g -q mouse on #activate mouse
Run Code Online (Sandbox Code Playgroud)
当我最大化终端窗口时,如何让tmux栏像它一样小?