Fix completion bug, ensure_async callback

This commit is contained in:
2025-07-21 00:11:21 -04:00
parent 0319058531
commit de53c889a6
5 changed files with 11 additions and 6 deletions

View File

@@ -86,7 +86,7 @@ class FalyxCompleter(Completer):
if not command.arg_parser:
return
suggestions = command.arg_parser.suggest_next(
parsed_args + ([stub] if stub else [])
parsed_args + ([stub] if stub else []), cursor_at_end_of_token
)
for suggestion in suggestions:
if suggestion.startswith(stub):