[PR #16718] COOKED_READ: Fix tab not erasing the prompt #30981

Open
opened 2026-01-31 09:44:19 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/16718

State: closed
Merged: Yes


Write "<command that doesn't exist> foo" in cmd.exe, move yours cursor
past the and press tab. The "foo" will still be there but
will be inaccessible. This commit fixes the issue. As far as I can
tell, this never worked in any conhost version ever.

Closes #16704

**Original Pull Request:** https://github.com/microsoft/terminal/pull/16718 **State:** closed **Merged:** Yes --- Write "<command that doesn't exist> foo" in cmd.exe, move yours cursor past the <command> and press tab. The "foo" will still be there but will be inaccessible. This commit fixes the issue. As far as I can tell, this never worked in any conhost version ever. Closes #16704
claunia added the pull-request label 2026-01-31 09:44:19 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30981