Cursor glitch while browsing bash history when last command doesn't end with new line #15577

Open
opened 2026-01-31 04:42:36 +00:00 by claunia · 0 comments
Owner

Originally created by @nmoreaud on GitHub (Oct 19, 2021).

Windows Terminal version (or Windows build number)

1.10.2714.0

Other Software

VS Code Version: 1.61.1
OS Version: Windows 10 + WSL Ubuntu 20.04

Steps to reproduce

Steps to Reproduce:

  1. Open a bash terminal
  2. Type a command larger than approximately 3/4 of the command prompt that doesn't finish with a new line
  3. Go up in history
  4. Press 'Start of line' key

https://user-images.githubusercontent.com/2413781/137861612-0c1bfcf9-1c36-41a4-b01d-e1c54b9147b5.mp4
https://user-images.githubusercontent.com/2413781/137862023-c4620bbc-fa38-4f06-b85b-f1b544911a19.mp4

Expected Behavior

No response

Actual Behavior

Cursor goes at the left of the command prompt.
It seems to depend on command prompt size

Originally created by @nmoreaud on GitHub (Oct 19, 2021). ### Windows Terminal version (or Windows build number) 1.10.2714.0 ### Other Software VS Code Version: 1.61.1 OS Version: Windows 10 + WSL Ubuntu 20.04 ### Steps to reproduce Steps to Reproduce: 1. Open a bash terminal 2. Type a command larger than approximately 3/4 of the command prompt that doesn't finish with a new line 3. Go up in history 4. Press 'Start of line' key https://user-images.githubusercontent.com/2413781/137861612-0c1bfcf9-1c36-41a4-b01d-e1c54b9147b5.mp4 https://user-images.githubusercontent.com/2413781/137862023-c4620bbc-fa38-4f06-b85b-f1b544911a19.mp4 ### Expected Behavior _No response_ ### Actual Behavior Cursor goes at the left of the command prompt. It seems to depend on command prompt size
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 04:42:36 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15577