我尝试从 MacOSX 上的命令行调整终端窗口的大小
我可以使用以下命令调整终端的宽度和高度(Control Sequence Introducer CSI)
printf '\e[8;100;200t' "resize to 200x100
Run Code Online (Sandbox Code Playgroud)
但是当我在终端中使用 tmux 时,命令(printf '\e[8;100;200t') 不再起作用
任何建议将不胜感激。
这是我的 tmux 配置文件:
bind r source-file ~/.tmux.conf \; display "Reloaded!" #Reload with ctrl-r
set-window-option -g mode-keys vi #copy-mode vim-like
set -g prefix ` #prefix from ctrl-b to ctrl-a
unbind C-b #allow ctrl-b for other things
set -sg escape-time 1 #quicker responses
bind ` send-prefix #Pass on ctrl-a for other apps
set -g base-index 1 #Numbering of windows
setw -g pane-base-index 1 #Numbering …
Run Code Online (Sandbox Code Playgroud) tmux ×1