diff options
author | nicm <nicm> | 2019-04-07 20:18:20 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2019-04-11 09:34:22 +0100 |
commit | cd4c94f76bcad0f0c9e3dfc8310a56c982eb3844 (patch) | |
tree | 390d582567ac2dbd08896db29a422416c97c70e1 /options-table.c | |
parent | bba1809eac7eda21842fef1aab8723d9bfb56c8f (diff) | |
download | rtmux-cd4c94f76bcad0f0c9e3dfc8310a56c982eb3844.tar.gz rtmux-cd4c94f76bcad0f0c9e3dfc8310a56c982eb3844.tar.bz2 rtmux-cd4c94f76bcad0f0c9e3dfc8310a56c982eb3844.zip |
Current window style also needs to be tested for default.
Diffstat (limited to 'options-table.c')
-rw-r--r-- | options-table.c | 5 |
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}," \ |