Skip to content

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
anomalyco:devfrom
IdrisGit:feat-use-space-to-toggle-multi-select-questions
Closed

feat(tui): space to toggle answers in multi-select and enter for submit in questions tool#11476
IdrisGit wants to merge 1 commit into
anomalyco:devfrom
IdrisGit:feat-use-space-to-toggle-multi-select-questions

Conversation

@IdrisGit

Copy link
Copy Markdown
Contributor

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

@github-actions

Copy link
Copy Markdown
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
opencode-agent Bot added a commit that referenced this pull request Jan 31, 2026
opencode-agent Bot added a commit that referenced this pull request Jan 31, 2026
opencode-agent Bot added a commit that referenced this pull request Jan 31, 2026
opencode-agent Bot added a commit that referenced this pull request Jan 31, 2026
opencode-agent Bot added a commit that referenced this pull request Feb 1, 2026
opencode-agent Bot added a commit that referenced this pull request Feb 1, 2026
opencode-agent Bot added a commit that referenced this pull request Feb 1, 2026
opencode-agent Bot added a commit that referenced this pull request Feb 1, 2026
opencode-agent Bot added a commit that referenced this pull request Feb 1, 2026
opencode-agent Bot added a commit that referenced this pull request Feb 1, 2026
opencode-agent Bot added a commit that referenced this pull request Feb 1, 2026
opencode-agent Bot added a commit that referenced this pull request Feb 1, 2026
opencode-agent Bot added a commit that referenced this pull request Feb 1, 2026
opencode-agent Bot added a commit that referenced this pull request Feb 1, 2026
opencode-agent Bot added a commit that referenced this pull request Feb 1, 2026
opencode-agent Bot added a commit that referenced this pull request Feb 1, 2026
opencode-agent Bot added a commit that referenced this pull request Feb 1, 2026
opencode-agent Bot added a commit that referenced this pull request Feb 1, 2026
opencode-agent Bot added a commit that referenced this pull request Feb 1, 2026
@IdrisGit
IdrisGit force-pushed the feat-use-space-to-toggle-multi-select-questions branch from d48f2a4 to 05b2ed7 Compare February 3, 2026 05:08
@github-actions

github-actions Bot commented Apr 4, 2026

Copy link
Copy Markdown
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.

@github-actions github-actions Bot closed this Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant