mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Text type-ahead searching: don't follow current link on enter
When the user presses enter during a text type-ahead search, simply cancel the search without additionally following the current link. Link type-ahead searching still will follow the active link on enter.
This commit is contained in:
parent
ecbc2271d1
commit
97e2bc9365
@ -1311,7 +1311,6 @@ text_typeahead_handler(struct input_line *line, int action_id)
|
||||
* clears the last search. */
|
||||
search_for_do(ses, buffer, direction, 0);
|
||||
}
|
||||
goto_current_link(ses, doc_view, 0);
|
||||
return INPUT_LINE_CANCEL;
|
||||
|
||||
case ACT_EDIT_PREVIOUS_ITEM:
|
||||
|
Loading…
Reference in New Issue
Block a user