Skip to content

fix(shell): support numeric keypad input#2537

Open
lihailong00 wants to merge 1 commit into
MoonshotAI:mainfrom
lihailong00:codex/issue-2529-keypad
Open

fix(shell): support numeric keypad input#2537
lihailong00 wants to merge 1 commit into
MoonshotAI:mainfrom
lihailong00:codex/issue-2529-keypad

Conversation

@lihailong00

@lihailong00 lihailong00 commented Jul 23, 2026

Copy link
Copy Markdown

Summary

  • recognize DEC application-keypad SS3 sequences emitted by Windows Terminal
  • insert keypad digits 0 through 9 into the active prompt buffer
  • add an integration regression test covering all ten keypad digit sequences

Validation

  • uv run pytest tests/ui_and_conv/test_prompt_numeric_keypad.py -q (1 passed)
  • uv run ruff check src/kimi_cli/ui/shell tests/ui_and_conv/test_prompt_numeric_keypad.py
  • uv run ruff format --check src/kimi_cli/ui/shell tests/ui_and_conv/test_prompt_numeric_keypad.py

Closes #2529


Open in Devin Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant