Terminal cursor is sometimes positioned near the beginning of the prompt instead of at the end
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
- Steps to Reproduce:
1. Open VS Code.
2. Open a new integrated terminal.
3. Observe the cursor position.
- Expected Result:
The cursor should be positioned at the end of the prompt, after the current working directory, ready for input.
- Actual Result:
Occasionally, the cursor is positioned near the beginning of the prompt instead of at the end. Any text that is typed is inserted at that incorrect cursor position, causing the command to appear in the wrong place within the prompt.
- Attached:
Screen [recording](https://github.com/user-attachments/assets/960de9ef-4d03-4039-8851-d636c49f635a) demonstrating the issue.
My [settings.json](https://github.com/user-attachments/files/29797086/settings.json) file.
- VS Code Version:
Version: 1.127.0 (user setup)
Commit: 4fe60c8b1cdac1c4c174f2fb180d0d758272d713
Date: 2026-06-30T10:52:33+02:00
Electron: 42.2.0
ElectronBuildId: 14159160
Chromium: 148.0.7778.97
Node.js: 24.15.0
V8: 14.8.178.14-electron.0
OS: Windows_NT x64 10.0.26100
- VS Code Extensions:
angular.ng-template@22.0.1
anthropic.claude-code@2.1.204
bradlc.vscode-tailwindcss@0.14.29
codezombiech.gitignore@0.10.0
dbaeumer.vscode-eslint@3.0.24
esbenp.prettier-vscode@12.4.0
johnpapa.angular2@18.0.2
ms-vscode.vscode-speech@0.16.0
- OS Version:
Windows 11 Pro 24H2 Version 10.0.26100.7171
Contributor guide
Assessment
This issue has not been assessed yet.