From bb629f3be7db0017f14ed519cdc36657b1e5ab1a Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 7 Apr 2019 20:18:20 +0000 Subject: [PATCH] Current window style also needs to be tested for default. --- options-table.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/options-table.c b/options-table.c index fc72c3a9..b30d7490 100644 --- a/options-table.c +++ b/options-table.c @@ -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}," \