1
0
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:
Miciah Dashiel Butler Masters 2006-07-21 11:15:30 +00:00 committed by Miciah Dashiel Butler Masters
parent ecbc2271d1
commit 97e2bc9365

View File

@ -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: