aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authornicm <nicm>2021-01-20 07:16:54 +0000
committernicm <nicm>2021-01-20 07:16:54 +0000
commitfb774b77d0f5ccb988b508b8a794633d4c9a5962 (patch)
tree6af7eebc80363f6d5e2c05ce7b1aae8796477842 /options-table.c
parent0730dce5abf5e43f8e3820a1d4e8754e61874a3d (diff)
downloadrtmux-fb774b77d0f5ccb988b508b8a794633d4c9a5962.tar.gz
rtmux-fb774b77d0f5ccb988b508b8a794633d4c9a5962.tar.bz2
rtmux-fb774b77d0f5ccb988b508b8a794633d4c9a5962.zip
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.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options-table.c b/options-table.c
index a8276c86..74a59134 100644
--- a/options-table.c
+++ b/options-table.c
@@ -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."
},