-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Unexpected ESC[K over ssh #20218
Copy link
Copy link
Closed
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingIt's a new issue that the core contributor team needs to triage at the next triage meeting
Metadata
Metadata
Assignees
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingIt's a new issue that the core contributor team needs to triage at the next triage meeting
Type
Fields
Give feedbackNo fields configured for Bug.
Windows Terminal version
1.25.1241.0
Windows build number
10.0.22631.0
Other Software
OpenSSH_for_Windows_10.0p2 Win32-OpenSSH-GitHub, LibreSSL 4.2.0
PowerShell 7.6.1
Steps to reproduce
Expected Behavior
step 1 and 2: the character b should appear in the second line
step 3 and 4: the character b shoud appear at the end of the first line
(output the script content just to make sure that i didn't mix it up)
Actual Behavior
step 2: the character b appears at the end of the first line
Use
to show the escape sequence, result is :
We can see that there is an extra ESC[K
step 4: after I add the ESC[K to script, things get reversed
the escape sequence is: