Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
workbench.action.terminal.sendSequence keybinding works correctly in the terminal panel but does nothing in terminal editor tabs (terminals opened as editor tabs via workbench.action.createTerminalEditor).
This breaks Claude Code’s /terminal-setup which relies on Shift+Enter sending \u001b\r to insert a newline.
Steps to Reproduce
- Add this keybinding:
{
"key": "shift+enter",
"command": "workbench.action.terminal.sendSequence",
"args": { "text": "\u001b\r" },
"when": "terminalFocus"
}
- Open a terminal in the panel — press Shift+Enter — works (inserts newline)
- Open a terminal as an editor tab (
workbench.action.createTerminalEditor) — press Shift+Enter — does nothing
Expected Behavior
sendSequence should work the same in terminal editor tabs as in the terminal panel.
Operating System
MacOS
Version Information
Version: 2.4.31
VSCode Version: 1.105.1
Commit: 3578107fdf149b00059ddad37048220e41681000
Date: 2026-02-08T07:42:24.999Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 24.6.0
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor