小编Aro*_*Lee的帖子

tmux 和控制序列字符问题

我尝试从 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

5
推荐指数
1
解决办法
1896
查看次数

标签 统计

tmux ×1