From 63e07b245f898af17657c4655f1251aa43e19d0c Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 15 Sep 2019 21:42:57 +0000 Subject: 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. --- options-table.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'options-table.c') 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}}" \ "}" \ -- cgit