Skip to content

Fix numpad input handling#727

Merged
jahooma merged 7 commits into
mainfrom
jahooma/fix-unspecified-issue
May 23, 2026
Merged

Fix numpad input handling#727
jahooma merged 7 commits into
mainfrom
jahooma/fix-unspecified-issue

Conversation

@jahooma
Copy link
Copy Markdown
Contributor

@jahooma jahooma commented May 23, 2026

Fixes CLI input handling so numpad digits, operators, and Enter work in terminals that emit Kitty keypad names or raw application keypad escape sequences.

The root cause was that the multiline input printable-key filter rejected keypad events before converting them into normal characters.

This adds shared keypad normalization helpers, wires them into multiline input and keyboard action resolution, and covers the behavior with focused input and keyboard-action tests.

Validation: bun test cli/src/components/tests/multiline-input.test.tsx cli/src/utils/tests/keyboard-actions.test.ts; bun run --cwd cli typecheck; git diff --check.

@jahooma jahooma merged commit cbd3fde into main May 23, 2026
35 checks passed
@jahooma jahooma deleted the jahooma/fix-unspecified-issue branch May 23, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant