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
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
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
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Seems resolved on my end (macOS + kitty + zsh) after updating to v0.87.0. I’ll monitor it and reopen if it shows up again. Thanks!