2016-09-27 65 views
4

我在gnome終端內部使用tmux。最大化時tmux酒吧和終端窗口底部之間的惱人填充

當我第一次打開一個窗口(默認大小爲80x24)時,tmux欄緊貼在窗口的底部。然而,當我最大化終端窗口時,在tmux欄下面會出現一個令人煩惱的大缺口。

maximised gnome-terminal tmux session with gap under 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 

我怎麼坐TMUX吧,因爲它在小本時,我最大的終端窗口?

80x24 gnome-terminal window with tmux bar located correctly

回答

5

你將不得不調整字體大小。由於終端窗口的高度不是完全N線高,因此引入了差距。如果你真的討厭這種差距,你可以放大或縮小字體大小,直到找到適合你的屏幕的字體。

+0

非常感謝! – HighDensityAwesome