#16175·warp

Windows: Kitty keyboard protocol not active — Ctrl+Enter arrives as LF, so Claude Code's "send now" (ctrl+enter) can't work

Author: jeongsuho-lawyerCreated Sep 26, 2026Updated Sep 27, 2026
Labelsbugtriagedrepro:highos:windowsarea:shell-terminalarea:terminal-inputwarp:auto-triage-reviewagent:bug

Pre-submit Checks

  • I have searched Warp bugs and there are no duplicates
  • I have searched Warp known issues page and my issue is not there

Describe the bug

On Windows, Warp does not activate the Kitty keyboard protocol (or modifyOtherKeys) when a TUI app requests it. As a result Ctrl+Enter arrives as a plain LF (\n), indistinguishable from Ctrl+J / Shift+Enter.

Claude Code's "send now" action is bound to ctrl+enter and Claude Code shows the hint "ctrl+enter to send now" in Warp (it lists WarpTerminal as an extended-keys capable terminal). In Warp on Windows, pressing Ctrl+Enter inserts a newline instead.

Environment

  • Warp v0.2026.09.16.08.27.stable_02, Windows 11
  • Shell: WSL Ubuntu 24.04 (TERM=xterm-256color, TERM_PROGRAM=WarpTerminal), no tmux
  • Claude Code 2.1.283, fullscreen mode (CLAUDE_CODE_NO_FLICKER=1)

To reproduce

A small Python script in a new Warp tab (WSL) that mimics what Claude Code does:

  1. Enter alt screen + raw mode: CSI ?1049h
  2. Push Kitty flags and modifyOtherKeys: CSI >5u, CSI >4;2m
  3. Query: CSI ?u (KKP flags), CSI >0q (XTVERSION), CSI c (DA1)
  4. Press Enter, Ctrl+Enter, Shift+Enter, Ctrl+X Ctrl+S and record raw bytes

Actual

capability replies: b'\x1bP>|Warp(v0.2026.09.16.08.27.stable_02)\x1b\\\x1b[?62c'
Enter           -> b'\r'
Ctrl+Enter      -> b'\n'
Shift+Enter     -> b'\n'
Ctrl+X, Ctrl+S  -> b'\x18', b'\x13'

No reply to CSI ?u, so the Kitty keyboard protocol is not active.

Expected

Per the Full-screen apps docs, Warp supports KKP when an app opts in. Ctrl+Enter should be encoded as CSI 13;5u (KKP) or CSI 27;5;13~ (modifyOtherKeys). Windows Terminal 1.25+ does this.

Notes

  • There is no user setting to enable it: settings.toml has no keyboard-protocol option, and there is no send-text/send-hex keybinding to work around it (#14300 → #9159).
  • The Windows build contains kitty_keyboard_protocol.rs and a KittyKeyboardProtocol feature flag, so this may just be a flag that is off (or not wired through ConPTY) on Windows.
  • Related: #9159, #11688