-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Integrated terminal: workbench.action.terminal.sendSequence no longer simulates Enter with \u000D in Git Bash #303665
Copy link
Copy link
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseIssue identified as probable candidate for fixing in the next releaseinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insiders
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.113.0-insider (c99f810 2026-03-20T09:51:41-07:00)
- OS Version: Windows 11 10.0.26200
Hi. Thanks to @jcansdale for PR #302526. It fixed a real multiline execution problem, but it also introduced a regression for workbench.action.terminal.sendSequence.
Problem
The workbench.action.terminal.sendSequence command can no longer simulate Enter by sending \u000D, because any occurrence of \r or \n now triggers automatic bracketed paste wrapping.
This appears to regress the documented behavior:
sendSequencecan be used to send Arrow keys, Enter, cursor moves, and more.
Repro
Bind a key to send \u000D to the integrated terminal:
{
"key": "ctrl+enter",
"command": "workbench.action.terminal.sendSequence",
"args": { "text": "echo 123\u000D" },
"when": "editorFocus"
},Pressing the key no longer behaves like Enter in Git Bash. Instead of executing the current command line, it moves to a new line / behaves as pasted input.
Proposed fix
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseIssue identified as probable candidate for fixing in the next releaseinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insiders