diff options
author | nicm <nicm> | 2019-04-07 20:18:20 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-04-07 20:18:20 +0000 |
commit | bb629f3be7db0017f14ed519cdc36657b1e5ab1a (patch) | |
tree | c49e6940681794bd6f82c1b16da3d8d0aa08921b /options-table.c | |
parent | 1b5a8a0f09cede0d5b6a4744ead873fa5b53abc0 (diff) | |
download | rtmux-bb629f3be7db0017f14ed519cdc36657b1e5ab1a.tar.gz rtmux-bb629f3be7db0017f14ed519cdc36657b1e5ab1a.tar.bz2 rtmux-bb629f3be7db0017f14ed519cdc36657b1e5ab1a.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 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}," \ |