mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Change so that window_flags escapes # automatically which means configs
will not have to change. A new format window_raw_flags contains the old unescaped version.
This commit is contained in:
@ -1018,7 +1018,7 @@ const struct options_table_entry options_table[] = {
|
||||
{ .name = "window-status-current-format",
|
||||
.type = OPTIONS_TABLE_STRING,
|
||||
.scope = OPTIONS_TABLE_WINDOW,
|
||||
.default_str = "#I:#W#{?window_flags,#{q/e:window_flags}, }",
|
||||
.default_str = "#I:#W#{?window_flags,#{window_flags}, }",
|
||||
.text = "Format of the current window in the status line."
|
||||
},
|
||||
|
||||
@ -1034,7 +1034,7 @@ const struct options_table_entry options_table[] = {
|
||||
{ .name = "window-status-format",
|
||||
.type = OPTIONS_TABLE_STRING,
|
||||
.scope = OPTIONS_TABLE_WINDOW,
|
||||
.default_str = "#I:#W#{?window_flags,#{q/e:window_flags}, }",
|
||||
.default_str = "#I:#W#{?window_flags,#{window_flags}, }",
|
||||
.text = "Format of windows in the status line, except the current "
|
||||
"window."
|
||||
},
|
||||
|
Reference in New Issue
Block a user