Skip to content

Commit 1810bc4

Browse files
committed
tmux: move from *-bg,fg to *-style options
As noted in tmux 2.9 release notes in CHANGES file: > The individual -fg, -bg and -attr options have been removed; > they were superseded by -style options in tmux 1.9. See also: https://github.com/tmux/tmux/wiki/FAQ#how-do-i-translate--fg--bg-and--attr-options-into--style-options
1 parent 3ebc7a0 commit 1810bc4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.tmux.conf

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ set -g status-bg red
1919
set -g status-fg white
2020

2121
# status line: highlight active window
22-
set-window-option -g window-status-current-bg white
23-
set-window-option -g window-status-current-fg red
22+
set-window-option -g window-status-current-style fg=red,bg=white
2423

2524
# Rather than constraining window size to the maximum size of
2625
# any client connected to the *session*, constrain window size

0 commit comments

Comments
 (0)