feat(tui): space to toggle answers in multi-select and enter for submit in questions tool - #11476
Closed
IdrisGit wants to merge 1 commit into
Closed
Conversation
Contributor
|
The following comment was made by an LLM, it may be inaccurate: No duplicate PRs found |
opencode-agent Bot
added a commit
that referenced
this pull request
Jan 31, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Jan 31, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Jan 31, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Jan 31, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Jan 31, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Feb 1, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Feb 1, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Feb 1, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Feb 1, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Feb 1, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Feb 1, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Feb 1, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Feb 1, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Feb 1, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Feb 1, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Feb 1, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Feb 1, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Feb 1, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Feb 1, 2026
…nd enter for submit in questions tool
opencode-agent Bot
added a commit
that referenced
this pull request
Feb 1, 2026
…nd enter for submit in questions tool
IdrisGit
force-pushed
the
feat-use-space-to-toggle-multi-select-questions
branch
from
February 3, 2026 05:08
d48f2a4 to
05b2ed7
Compare
11 tasks
Contributor
|
Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Updates multi-select in questions tool to use "space" to toggle answers while keeping "enter" as the submit action, for a more natural and consistent keyboard flow.
How did you verify your code works?
Tested locally while by invoking the questions tool and verified that "space" toggles answers and "enter" submits as expected. (I have attached a screen recording)
UX note
I am aware that this changes the existing behavior where users may expect "enter" to toggle answers but this will submit it, however this should not be a major issue as answers are not just sent immediately and there is a confirmation step at the end (which shows warning of empty answer).
Since using "space" to toggle options is a common pattern in TUIs and CLIs, this should be fairly easy for users to adapt and fits better with people who already enjoy terminal apps.
screen recording of the fix applied in this PR
question_tool_multi_select_fix.mp4
closes #11471