diff options
| author | bptato <nincsnevem662@gmail.com> | 2024-03-30 15:20:30 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2024-03-30 15:33:37 +0100 |
| commit | b6afe9fbc9a8c4b6390a90a07b648e898b016698 (patch) | |
| tree | 95d018e374bb60b39737d5db877c76278e65e113 /adapter | |
| parent | aaf23561d1704e6d178c4acabdfa87a73cd62e9c (diff) | |
| download | chawan-b6afe9fbc9a8c4b6390a90a07b648e898b016698.tar.gz | |
pager: fix incremental search with empty string
This is broken in w3m too, so we take nvi behavior instead. Also, we now
consistently complain when the user tries to search for an empty string
instead of just occasionally spitting out "invalid regex" alerts.
(In w3m, /search^M/^M just jumps to the first search result with
ISEARCH. In nvi, it jumps to the second one with both searchincr on
and off.
w3m only produces the latter behavior with regular search, which is I
assume why I made it work this way, but it's still inconsistent for no
good reason.)
Diffstat (limited to 'adapter')
0 files changed, 0 insertions, 0 deletions