The open source coding agent.
TypeScript
docs: add Windows Terminal Shift+Enter configuration guide (#5788)
Steven T. Cramerd7db57e8e10b
diff --git a/packages/web/src/content/docs/keybinds.mdx b/packages/web/src/content/docs/keybinds.mdxindex d9e99cd0374..35610af5190 100644--- a/packages/web/src/content/docs/keybinds.mdx+++ b/packages/web/src/content/docs/keybinds.mdx@@ -112,3 +112,44 @@ You can disable a keybind by adding the key to your config with a value of "none}}```++---++## Shift+Enter++Some terminals don't send modifier keys with Enter by default. You may need to configure your terminal to send `Shift+Enter` as an escape sequence.++### Windows Terminal++Open your `settings.json` at:++```+%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json+```++Add this to the root-level `actions` array:++```json+"actions": [+ {+ "command": {+ "action": "sendInput",+ "input": "\u001b[13;2u"+ },+ "id": "User.sendInput.ShiftEnterCustom"+ }+]+```++Add this to the root-level `keybindings` array:++```json+"keybindings": [+ {+ "keys": "shift+enter",+ "id": "User.sendInput.ShiftEnterCustom"+ }+]+```++Save the file and restart Windows Terminal or open a new tab.