mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
Shell: Accept empty set of completions from program completer
Falling back to default completions goes directly against the users' wishes :P
This commit is contained in:
parent
189d1e8291
commit
fde174645a
1 changed files with 0 additions and 3 deletions
|
@ -2076,9 +2076,6 @@ ErrorOr<Vector<Line::CompletionSuggestion>> Shell::complete_via_program_itself(s
|
|||
tcsetpgrp(STDOUT_FILENO, pgid);
|
||||
tcsetpgrp(STDIN_FILENO, pgid);
|
||||
|
||||
if (suggestions.is_empty())
|
||||
return Error::from_string_literal("No results");
|
||||
|
||||
return suggestions;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue