diff options
author | nicm <nicm> | 2019-09-15 21:42:57 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-09-15 21:42:57 +0000 |
commit | 63e07b245f898af17657c4655f1251aa43e19d0c (patch) | |
tree | 6c2db5b222dac64b3804e8b6731fa210f79f4548 /options-table.c | |
parent | a23ce1b45ff8b8999e2817c9e747188c559725e1 (diff) | |
download | rtmux-63e07b245f898af17657c4655f1251aa43e19d0c.tar.gz rtmux-63e07b245f898af17657c4655f1251aa43e19d0c.tar.bz2 rtmux-63e07b245f898af17657c4655f1251aa43e19d0c.zip |
Add push-default and pop-default in styles to change the default colours
and attributes and use them to restore the previous behaviour of
window-status-style being the default for window-status-format in the
status line. From John Drouhard in GitHub issue 1912.
Diffstat (limited to 'options-table.c')
-rw-r--r-- | options-table.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c index 7bb767c7..d012f448 100644 --- a/options-table.c +++ b/options-table.c @@ -92,7 +92,9 @@ static const char *options_table_window_size_list[] = { "}" \ "}" \ "]" \ + "#[push-default]" \ "#{T:window-status-format}" \ + "#[pop-default]" \ "#[norange default]" \ "#{?window_end_flag,,#{window-status-separator}}" \ "," \ @@ -117,7 +119,9 @@ static const char *options_table_window_size_list[] = { "}" \ "}" \ "]" \ + "#[push-default]" \ "#{T:window-status-current-format}" \ + "#[pop-default]" \ "#[norange list=on default]" \ "#{?window_end_flag,,#{window-status-separator}}" \ "}" \ |