-
Notifications
You must be signed in to change notification settings - Fork 1.3k
VS Code keybindings set by /terminal-setup incompatible with Claude Code #897
Copy link
Copy link
Open
Labels
area:input-keyboardKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text inputKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text input
Description
Describe the bug
Keybindings set by Copilot CLI (/terminal-setup):
{
"key": "ctrl+enter",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": {
"text": "\\\r\n"
}
},
{
"key": "shift+enter",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": {
"text": "\\\r\n"
}
},Keybindings set by Claude Code:
{
"key": "shift+enter",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": {
"text": "\u001b\r"
}
},When set to \\\r\n, pressing shift+enter in Claude Code results in extra backslash characters (\) being inserted.
Consider changing it to \u001b\r, which seem to work properly in both tools.
Affected version
0.0.374
Additional context
Running on Windows machine, in VS Code integrated terminal inside of a Linux Dev Container
Related bug: #657
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:input-keyboardKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text inputKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text input
Type
Fields
Give feedbackNo fields configured for Bug.