![Tmux 1.8 - 未知选项:窗口样式](https://linux22.com/image/171853/Tmux%201.8%20-%20%E6%9C%AA%E7%9F%A5%E9%80%89%E9%A1%B9%EF%BC%9A%E7%AA%97%E5%8F%A3%E6%A0%B7%E5%BC%8F.png)
我正在尝试设置 Tmux 活动和非活动窗口的颜色。然而,这些选项似乎在tmux 1.8
.有没有其他选择
.tmux.conf
set-option -g default-terminal "screen-256color"
#-------------------------------------------------------#
# Pane colours
#-------------------------------------------------------#
# set active-inactive window styles
set -g window-style 'fg=colour247,bg=colour236'
set -g window-active-style 'fg=default,bg=colour234'
# Pane border
set -g pane-border-bg default
set -g pane-border-fg colour238
# Active pane border
set -g pane-active-border-bg default
set -g pane-active-border-fg blue
错误
tmux source-file ~/.tmux.conf
/home/[email protected]/.tmux.conf:6: unknown option: window-style
/home/[email protected]/.tmux.conf:7: unknown option: window-active-style
答案1
不,直到 tmux 2.1 才添加对此功能的支持。