Expand mode-style with E: so # is correctly processed, GitHub issue

4533.
This commit is contained in:
nicm
2025-06-15 22:24:51 +00:00
parent d7f75ac985
commit d82d9468b4

View File

@ -1053,7 +1053,7 @@ const struct options_table_entry options_table[] = {
{ .name = "copy-mode-position-style",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW,
.default_str = "#{mode-style}",
.default_str = "#{E:mode-style}",
.flags = OPTIONS_TABLE_IS_STYLE,
.separator = ",",
.text = "Style of position indicator in copy mode."
@ -1062,7 +1062,7 @@ const struct options_table_entry options_table[] = {
{ .name = "copy-mode-selection-style",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW,
.default_str = "#{mode-style}",
.default_str = "#{E:mode-style}",
.flags = OPTIONS_TABLE_IS_STYLE,
.separator = ",",
.text = "Style of selection in copy mode."