mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-19 14:14:41 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user