Pressing right-arrow at the end after deleting something in the command retypes the last word #23398

Closed
opened 2026-01-31 08:41:06 +00:00 by claunia · 2 comments
Owner

Originally created by @MrBisquit on GitHub (Jun 28, 2025).

Windows Terminal version

1.22.11141.0

Windows build number

10.0.22631.0

Other Software

No response

Steps to reproduce

  • Open the terminal (with it open to Command Prompt)
  • Type out gh skyline --full --output my-skyline.stl --debug --user mojombo
  • Run the command
  • Press the up arrow to get it back
  • Remove --full
  • Press right arrow at the end, it'll type out mojombo one letter at a time as you press the right arrow

Expected Behavior

Nothing.

Actual Behavior

https://github.com/user-attachments/assets/78f34761-bfbd-429f-9f6f-ca6d7e1b29d6
(I am pressing right arrow, and it is typing out mojombo again)

Originally created by @MrBisquit on GitHub (Jun 28, 2025). ### Windows Terminal version 1.22.11141.0 ### Windows build number 10.0.22631.0 ### Other Software _No response_ ### Steps to reproduce - Open the terminal (with it open to Command Prompt) - Type out `gh skyline --full --output my-skyline.stl --debug --user mojombo` - Run the command - Press the up arrow to get it back - Remove `--full` - Press right arrow at the end, it'll type out `mojombo` one letter at a time as you press the right arrow ### Expected Behavior Nothing. ### Actual Behavior https://github.com/user-attachments/assets/78f34761-bfbd-429f-9f6f-ca6d7e1b29d6 (I am pressing right arrow, and it is typing out `mojombo` again)
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 08:41:06 +00:00
Author
Owner

@lhecker commented on GitHub (Jun 30, 2025):

That's how CMD has always worked. We don't touch it because people get very upset when we do.

@lhecker commented on GitHub (Jun 30, 2025): That's how CMD has always worked. We don't touch it because people get very upset when we do.
Author
Owner

@MrBisquit commented on GitHub (Jun 30, 2025):

That's how CMD has always worked. We don't touch it because people get very upset when we do.

Oh I didn't even realise, sorry

@MrBisquit commented on GitHub (Jun 30, 2025): > That's how CMD has always worked. We don't touch it because people get very upset when we do. Oh I didn't even realise, sorry
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23398