From cd4c94f76bcad0f0c9e3dfc8310a56c982eb3844 Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 7 Apr 2019 20:18:20 +0000 Subject: 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 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}," \ -- cgit v1.2.3