Add an option to disable unwrapping lines for searching, from

meanderingprogrammer at gmail dot com, GitHub issue 3975.
This commit is contained in:
nicm
2024-05-14 07:40:39 +00:00
parent fb37d52dde
commit 4c928dce74
3 changed files with 25 additions and 3 deletions

View File

@ -384,6 +384,14 @@ const struct options_table_entry options_table[] = {
.text = "Maximum number of commands to keep in history."
},
{ .name = "search-wrapped-lines",
.type = OPTIONS_TABLE_FLAG,
.scope = OPTIONS_TABLE_SERVER,
.default_num = 1,
.text = "Whether to include full wrapped lines when searching for "
"text in copy mode."
},
{ .name = "set-clipboard",
.type = OPTIONS_TABLE_CHOICE,
.scope = OPTIONS_TABLE_SERVER,