Skip to content

fix: REPL tab-completion for entries with spaces#3360

Open
guillermodotn wants to merge 3 commits intogopasspw:masterfrom
guillermodotn:fix/repl-completion-spaces
Open

fix: REPL tab-completion for entries with spaces#3360
guillermodotn wants to merge 3 commits intogopasspw:masterfrom
guillermodotn:fix/repl-completion-spaces

Conversation

@guillermodotn
Copy link
Copy Markdown

Replace PrefixCompleter with a custom AutoCompleter that backslash-escapes spaces in entry names during REPL tab-completion.

PrefixCompleter uses spaces as word delimiters internally, making it impossible to complete entries like "this is just a test" as a single token.

Fixes #2645

Signed-off-by: guillermodotn <guillerm0.n@outlook.es>
Signed-off-by: guillermodotn <guillerm0.n@outlook.es>
Signed-off-by: guillermodotn <guillerm0.n@outlook.es>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect tab-completion with spaces

1 participant