Skip to content

Support continuous tab completion - #761

Merged
tompng merged 1 commit into
ruby:masterfrom
tompng:continuous_tab_completion
Oct 13, 2024
Merged

tompng merged 1 commit into
ruby:masterfrom
tompng:continuous_tab_completion

Conversation

@tompng

@tompng tompng commented Oct 11, 2024

Copy link
Copy Markdown
Member

Fixes #760
Continuous tab completion is possible in GNU Readline.
If dig_perfect_match_proc is set, continuous tab completion will be disabled.

dig_perfect_match_proc is used in IRB to show document when pressing TAB after perfect match completion.
In such case, setting dig_perfect_match_proc is a hook intended to disable continuous completion and do something else.

Continuous tab completion is possible in GNU Readline.
If dig_perfect_match_proc is set, continuous tab completion will be disabled.
@tompng
tompng merged commit 469a528 into ruby:master Oct 13, 2024
@tompng
tompng deleted the continuous_tab_completion branch October 13, 2024 04:55
matzbot pushed a commit to ruby/ruby that referenced this pull request Oct 13, 2024
(ruby/reline#761)

Continuous tab completion is possible in GNU Readline.
If dig_perfect_match_proc is set, continuous tab completion will be disabled.

ruby/reline@469a52846b
@ima1zumi ima1zumi added the enhancement New feature or request label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Completion State Bug not allowing for subsequent tab-completions

3 participants