summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-04-07 23:02:37 +0100
committerThomas Adam <thomas@xteddy.org>2019-04-07 23:02:37 +0100
commitfbe488e4de34e9d4930f245844d0fc8ee07d39ef (patch)
tree8f71a721e3df6e6bdc3e6dfc38f61bcc94dba241 /options-table.c
parent883a428e27936beee29c7ce638cb04ef4f8f44a5 (diff)
parentbb629f3be7db0017f14ed519cdc36657b1e5ab1a (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/options-table.c b/options-table.c
index 1301f92d..40639aff 100644
--- a/options-table.c
+++ b/options-table.c
@@ -96,7 +96,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}," \