Inconsistency with ANSI escape codes between xterm and Windows Terminal #15024

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

Originally created by @ChrisJefferson on GitHub (Aug 31, 2021).

Windows Terminal version (or Windows build number)

1.9.1942.0

Other Software

No response

Steps to reproduce

cat the following file (hopefully escape codes cut+paste correctly) in WSL2 in Windows Terminal

[?25l
[?1049hr
[?25h
[?1049l

EDIT: File also in a gist: https://gist.github.com/ChrisJefferson/f0fdf72ada8568df77faf171a403cc5e

Expected Behavior

Cursor is visible (as it is in standard xterm)

Actual Behavior

Cursor is invisible.

Originally created by @ChrisJefferson on GitHub (Aug 31, 2021). ### Windows Terminal version (or Windows build number) 1.9.1942.0 ### Other Software _No response_ ### Steps to reproduce cat the following file (hopefully escape codes cut+paste correctly) in WSL2 in Windows Terminal ``` [?25l [?1049hr [?25h [?1049l ``` EDIT: File also in a gist: https://gist.github.com/ChrisJefferson/f0fdf72ada8568df77faf171a403cc5e ### Expected Behavior Cursor is visible (as it is in standard xterm) ### Actual Behavior Cursor is invisible.
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 04:26:22 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15024