Skip to content

Fix #912#917

Merged
ysthakur merged 1 commit into
nushell:mainfrom
ysthakur:fix-912
Jan 5, 2026
Merged

Fix #912#917
ysthakur merged 1 commit into
nushell:mainfrom
ysthakur:fix-912

Conversation

@ysthakur

@ysthakur ysthakur commented Jun 8, 2025

Copy link
Copy Markdown
Member

Fixes #912 by making sure that the input field in each menu is set before partial completion is triggered. This is done by setting self.input in the update_values method (after checking that it hasn't been set already), rather than in update_working_details (which is only run when it's time to paint the menu).

@ysthakur ysthakur added the A-Completions Area: Tab completion and inline hint completions label Jun 8, 2025
@fdncred

fdncred commented Jan 4, 2026

Copy link
Copy Markdown
Contributor

Is this still valid? Should we land it too?

@ysthakur

ysthakur commented Jan 5, 2026

Copy link
Copy Markdown
Member Author

@fdncred Just tested it out, seems to be working. Let's go for it

@ysthakur ysthakur added the bug Something isn't working label Jan 5, 2026
@fdncred

fdncred commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

sounds good to me!

@ysthakur ysthakur merged commit 56a2a1c into nushell:main Jan 5, 2026
6 checks passed
@ysthakur ysthakur deleted the fix-912 branch January 5, 2026 22:55
kronberger-droid pushed a commit to skull-squadron/reedline that referenced this pull request Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Completions Area: Tab completion and inline hint completions bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Common prefix inserted when selecting an item in columnar menu

2 participants