diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-04-07 20:18:21 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-04-07 20:18:21 +0000 |
commit | ce138783e80cab520f32337af7c22c43540e8ff9 (patch) | |
tree | 110c0456bd9bac326638912c12b39bff647cad78 /usr.bin | |
parent | 28b2814d69289ee77e37970f128029ec21230291 (diff) |
Current window style also needs to be tested for default.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/options-table.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/tmux/options-table.c b/usr.bin/tmux/options-table.c index 46738c71144..52eba2bdaff 100644 --- a/usr.bin/tmux/options-table.c +++ b/usr.bin/tmux/options-table.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options-table.c,v 1.102 2019/04/02 18:41:24 nicm Exp $ */ +/* $OpenBSD: options-table.c,v 1.103 2019/04/07 20:18:20 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -97,7 +97,10 @@ static const char *options_table_window_size_list[] = { "#{?window_end_flag,,#{window-status-separator}}" \ "," \ "#[range=window|#{window_index} list=focus " \ - "#{window-status-current-style}" \ + "#{?#{!=:#{window-status-current-style},default}," \ + "#{window-status-current-style}," \ + "#{window-status-style}" \ + "}" \ "#{?#{&&:#{window_last_flag}," \ "#{!=:#{window-status-last-style},default}}, " \ "#{window-status-last-style}," \ |