mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 19:26:13 +08: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:
parent
41dcf84386
commit
3df05af809
|
@ -2735,7 +2735,7 @@ 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,
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user