summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authornicm <nicm>2019-09-15 21:42:57 +0000
committernicm <nicm>2019-09-15 21:42:57 +0000
commit63e07b245f898af17657c4655f1251aa43e19d0c (patch)
tree6c2db5b222dac64b3804e8b6731fa210f79f4548 /options-table.c
parenta23ce1b45ff8b8999e2817c9e747188c559725e1 (diff)
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.c4
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}}" \
"}" \