[BUG] When pressing keyboard enter on numeric pad this happen: [57414;129u
Resolved 💬 5 comments Opened Jan 9, 2026 by hsdredgun Closed Feb 23, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Include in your report:
- Terminal: Ghostty
- OS: Arch Linux (kernel 6.12.63)
- Issue: Numeric keypad Enter key produces [57414;129u instead of working
- Only occurs in Claude Code, not in normal terminal sessions
What Should Happen?
- Issue: Numeric keypad Enter key produces [57414;129u instead of working as enter
Error Messages/Logs
[57414;129u
Steps to Reproduce
## Steps to Reproduce
- Open Ghostty terminal emulator
- Launch Claude Code CLI (
claude) - Press the numeric keypad Enter key (not the main Enter key)
- Observe that the sequence
[57414;129uappears in the terminal instead of the Enter key being processed
## Expected Behavior
The numeric keypad Enter key should function the same as the main Enter key - submitting input or creating a new line.
## Actual Behavior
The raw escape sequence [57414;129u is printed to the terminal instead of being interpreted as an Enter key press.
## Additional Context
- This only occurs within Claude Code, not in regular terminal sessions
- The main Enter key works correctly
- This appears to be related to Ghostty's enhanced keyboard protocol support (Kitty keyboard protocol)
- The sequence
[57414;129uis the enhanced protocol encoding for the numeric keypad Enter key
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Sonnet 4.5 (model ID: claude-sonnet-4-5-20250929)
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗