rkd77 / elinks

Fork of elinks
Other
335 stars 35 forks source link

Keybinding to clear search highlights #251

Open 0-issue opened 1 year ago

0-issue commented 1 year ago

It would be good to have a key binding to clear search results. Currently I am entering some gibberish text in search box so elinks removes search highlights. Maybe it already exists? but I am unable to see one on http://elinks.or.cz/documentation/manpages/elinkskeys.5.html

Corollary: A bonus would be to be able to toggle the search highlights without having to search again. So one could press the same key to bring back the search results and navigate again. Let me know if there is an interest and whether I should file another issue or update the title to "Keybinding to toggle search highlights"

0-issue commented 1 year ago

Actually I realized that pressing a search key, and pressing enter on empty prompt results in clearing the results. Perhaps if you don't think toggle makes sense, this can be closed.