Tmux 视觉伪像、奇怪的字符映射

Tmux 视觉伪像、奇怪的字符映射

在此处输入图片描述

它正在运行一个输出控制台日志的 Java 程序。

配置文件

# visuals
set -g status-bg black
set -g status-fg white
set -g status-left '#S (#[fg=green]#(whoami)@#(hostname)#[fg=white])'
set -g status-left-length 32
set -g status-right-length 60
set -g status-right '(#[fg=red]#(cat /etc/issue | head -1)#[fg=white])'

setw -g window-status-format "[ #W ]"
setw -g window-status-current-format "[ #W ]"
setw -g window-status-fg white
setw -g window-status-current-fg cyan
setw -g window-status-current-attr default

# Set the prefix to ^A.
unbind C-b
set -g prefix ^A
bind a send-prefix

# Bind appropriate commands similar to screen.
# lockscreen ^X x
unbind ^X
bind ^X lock-server
unbind x
bind x lock-server

# screen ^C c
unbind ^C
bind ^C new-window
bind c new-window

# detach ^D d
unbind ^D
bind ^D detach

# displays *
unbind *
bind * list-clients

# next ^@ ^N sp n
unbind ^@
bind ^@ next-window
unbind ^N
bind ^N next-window
unbind " "
bind " " next-window
unbind n
bind n next-window

# title A
unbind A
bind A command-prompt "rename-window %%"

# other ^A
unbind ^A
bind ^A last-window

# prev ^H ^P p ^?
unbind ^H
bind ^H previous-window
unbind ^P
bind ^P previous-window
unbind p
bind p previous-window
unbind BSpace
bind BSpace previous-window

# windows ^W w
unbind ^W
bind ^W list-windows
unbind w
bind w list-windows

# quit \
unbind \
bind \ confirm-before "kill-server"

# kill K k
unbind K
bind K confirm-before "kill-window"
unbind k
bind k confirm-before "kill-window"

# redisplay ^L l
unbind ^L
bind ^L refresh-client
unbind l
bind l refresh-client

# split -v |
unbind |
bind | split-window

# " windowlist -b
unbind '"'
bind '"' choose-window

命令输入有效,我也可以看到熟悉的输出(不是每个字符都有这个问题)但就像字符映射完全被垃圾取代了一样。

有任何想法吗?

相关内容