ConPTY: Just delete a character instead of reprinting a line when using backspace on a prompt #2282

Closed
opened 2026-01-30 22:51:24 +00:00 by claunia · 2 comments
Owner

Originally created by @Tyriar on GitHub (Jun 26, 2019).

Originally assigned to: @zadjii-msft on GitHub.

Environment

Windows build number: Microsoft Windows [Version 10.0.18922.1000]
vscode 1.36.0 insiders

Steps to reproduce

  1. Open terminal
  2. Press a
  3. Press backspace

Expected behavior

This is what happens when on Linux:

a


Actual behavior

a
[?25l
C:\Users\daimms.REDMOND>[?25h

Why?

The incoming data is given to the screen reader to announce, so whenever backspace is pressed it would read out the prompt again.

Originally created by @Tyriar on GitHub (Jun 26, 2019). Originally assigned to: @zadjii-msft on GitHub. # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18922.1000] vscode 1.36.0 insiders ``` # Steps to reproduce 1. Open terminal 2. Press a 3. Press backspace # Expected behavior This is what happens when on Linux: ``` a  ``` # Actual behavior ``` a [?25l C:\Users\daimms.REDMOND>[?25h ``` # Why? The incoming data is given to the screen reader to announce, so whenever backspace is pressed it would read out the prompt again.
Author
Owner

@zadjii-msft commented on GitHub (Sep 4, 2019):

(@Tyriar and the same with this one too)

@zadjii-msft commented on GitHub (Sep 4, 2019): (@Tyriar and the same with this one too)
Author
Owner

@Tyriar commented on GitHub (Sep 9, 2019):

Seems fixed on 10.0.18970.1005:

image

@Tyriar commented on GitHub (Sep 9, 2019): Seems fixed on 10.0.18970.1005: ![image](https://user-images.githubusercontent.com/2193314/64541503-d337e200-d2d6-11e9-9aeb-4e0a759825c5.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2282