Revert part of the change for GitHub issue 3675 because it does not work

correctly, it was intended to skip lines that are already being searched
as part of a previous wrapped line but in fact is skipping all lines
except the last in wrapped lines.

Also revert the search-wrapped-lines option (I didn't realize it was
intended to work around this).
This commit is contained in:
nicm
2024-05-14 09:32:37 +00:00
parent c9616700ca
commit 5b5004e5ac
3 changed files with 4 additions and 33 deletions

View File

@ -384,14 +384,6 @@ 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,