Skip to content

Add an option to disable no-op completion filtering - #2106

Open
jw9829 wants to merge 1 commit into
prompt-toolkit:mainfrom
jw9829:fix-noop-completion-filter
Open

jw9829 wants to merge 1 commit into
prompt-toolkit:mainfrom
jw9829:fix-noop-completion-filter

Conversation

@jw9829

@jw9829 jw9829 commented Sep 27, 2026 •

Copy link
Copy Markdown

Fixes #2101. Buffer filters out completions that would leave the input unchanged. This adds filter_noop_completions so callers can keep those completions when they need them; it defaults to True, preserving existing behavior. PromptSession, prompt(), and prompt_async() accept the option as well.

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.

Title: Add an option to disable the "completion_does_nothing" filter

1 participant