mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-13 21:11:15 -03:00
Revert "Do not prevent multiple tab-completions with the same command line"
This reverts commit 41dcf84386.
This seems to have broken a lot of interactive scenarios.
This commit is contained in:
@@ -2735,8 +2735,8 @@ void reader_data_t::handle_readline_command(readline_cmd_t c, readline_loop_stat
|
||||
cycle_cursor_pos = token_end - buff;
|
||||
|
||||
bool cont_after_prefix_insertion = (c == rl::complete_and_search);
|
||||
rls.comp_empty = !handle_completions(rls.comp, token_begin - buff, token_end - buff,
|
||||
cont_after_prefix_insertion);
|
||||
rls.comp_empty = handle_completions(rls.comp, token_begin - buff, token_end - buff,
|
||||
cont_after_prefix_insertion);
|
||||
|
||||
// Show the search field if requested and if we printed a list of completions.
|
||||
if (c == rl::complete_and_search && !rls.comp_empty && !pager.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user