input of ^O corrupts terminal output (in non-Windows terminal) #23545

Open
opened 2026-01-31 08:45:29 +00:00 by claunia · 0 comments
Owner

Originally created by @mintty on GitHub (Aug 26, 2025).

Windows Terminal version

1.24.2231.0

Windows build number

10.0.26100.4946

Other Software

non-Windows terminal, mintty or also xterm, running wsl, involving some conhost layer

Steps to reproduce

Run mintty or xterm.
Run wsl.
ls -1 /bin # OK
^O # enter the control character
ls -1 /bin # corrupted output, gaps, added space, skipped sections, changing on repetition

Expected Behavior

correct output

Actual Behavior

see above; corrupted output remains until wsl is terminated
see also mintty/mintty#1332

^O is the stty discard character, with obscure meaning (see also comment in referenced issue). It used to have defined function in early Unix and pre-Unix systems, which would not be explaining such erratic behaviour however.

Originally created by @mintty on GitHub (Aug 26, 2025). ### Windows Terminal version 1.24.2231.0 ### Windows build number 10.0.26100.4946 ### Other Software non-Windows terminal, mintty or also xterm, running wsl, involving some conhost layer ### Steps to reproduce Run mintty or xterm. Run wsl. ls -1 /bin # OK ^O # enter the control character ls -1 /bin # corrupted output, gaps, added space, skipped sections, changing on repetition ### Expected Behavior correct output ### Actual Behavior see above; corrupted output remains until wsl is terminated see also mintty/mintty#1332 ^O is the stty discard character, with obscure meaning (see also comment in referenced issue). It used to have defined function in early Unix and pre-Unix systems, which would not be explaining such erratic behaviour however.
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 08:45:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23545