From f371069342abe688758c9c39503e193e3ee5111b Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Sat, 17 Jan 2026 00:15:49 +0100 Subject: [PATCH] docs(coding-agent): add Windows Terminal Shift+Enter config --- packages/coding-agent/README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/packages/coding-agent/README.md b/packages/coding-agent/README.md index 7bfbaf44..4ecd837d 100644 --- a/packages/coding-agent/README.md +++ b/packages/coding-agent/README.md @@ -160,7 +160,20 @@ return config } ``` -**Windows Terminal:** Does not support the Kitty keyboard protocol. Shift+Enter cannot be distinguished from Enter. Use Ctrl+Enter for multi-line input instead. All other keybindings work correctly. +**Windows Terminal:** Add to `settings.json` (Ctrl+Shift+, or Settings → Open JSON file): + +```json +{ + "actions": [ + { + "command": { "action": "sendInput", "input": "\u001b[13;2u" }, + "keys": "shift+enter" + } + ] +} +``` + +If you already have an `actions` array, add the object to it. **IntelliJ IDEA (Integrated Terminal):** The built-in terminal has limited escape sequence support. Note that Shift+Enter cannot be distinguished from Enter in IntelliJ's terminal. If you want the hardware cursor visible, set `PI_HARDWARE_CURSOR=1` before running pi (disabled by default for compatibility). Consider using a dedicated terminal emulator for the best experience.