Skip to content

fix(chooser): separate Enter (confirm) from Space (toggle) in multi-s…#3530

Merged
esengine merged 1 commit into
esengine:main-v2from
LVGG:fix-3504
Jun 8, 2026
Merged

fix(chooser): separate Enter (confirm) from Space (toggle) in multi-s…#3530
esengine merged 1 commit into
esengine:main-v2from
LVGG:fix-3504

Conversation

@LVGG

@LVGG LVGG commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

…elect

Multi-select mode now uses Space only for toggling individual options, while Enter (and number keys) confirms current selections and advances to the next question or submits, matching the single-select flow. Previously both keys toggled, making it impossible to commit without toggling the highlighted option.

The desktop AskCard already has this correct via explicit confirm buttons and was unaffected.

…elect

Multi-select mode now uses Space only for toggling individual options,
while Enter (and number keys) confirms current selections and advances
to the next question or submits, matching the single-select flow.
Previously both keys toggled, making it impossible to commit without
toggling the highlighted option.

The desktop AskCard already has this correct via explicit confirm
buttons and was unaffected.
@LVGG LVGG requested review from SivanCola and esengine as code owners June 8, 2026 06:27
@github-actions github-actions Bot added tui Terminal UI / CLI (internal/cli, internal/control) v2 Go rewrite (1.x) — main-v2 branch, active development labels Jun 8, 2026
@LVGG

LVGG commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Fixes #3504

@esengine esengine left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call separating Space (toggle) from Enter (confirm) in multi-select — verified the toggle path in handleChooserKey and the full cli suite is green.

@esengine esengine enabled auto-merge (squash) June 8, 2026 09:00
@esengine esengine merged commit 9373980 into esengine:main-v2 Jun 8, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tui Terminal UI / CLI (internal/cli, internal/control) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants