Kitty keyboard protocol escape sequences (`[110;1:3u`) inserted when typing prompts
Resolved 💬 2 comments Opened Jan 12, 2026 by atani Closed Jan 17, 2026
Environment
- codex-cli: 0.80.0
- OS: macOS (Darwin 25.2.0)
- Terminal: kitty
- Shell: zsh
Description
When typing prompts in Codex CLI, kitty keyboard protocol escape sequences like [110;1:3u are being inserted into the input.
This occurs even with enable_kitty_keyboard_protocol no set in kitty.conf.
Steps to reproduce
- Use kitty terminal on macOS
- Run
codex - Type any prompt - escape sequences appear randomly
Notes
enable_kitty_keyboard_protocol nois set in kitty.conf but issue persists- Kitty has been restarted after config change
- Claude Code (Anthropic CLI) does NOT have this issue in the same environment, suggesting the terminal config is correct
- Related to closed issue #2572 which was reported for v0.23.0 and later re-reported for v0.66.0
Expected behavior
Normal character input without escape sequences being inserted
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗