OpenConsole conhost (or ConPTY?) may leave keyboard in corrupt input mode #23458

Closed
opened 2026-01-31 08:42:53 +00:00 by claunia · 8 comments
Owner

Originally created by @mintty on GitHub (Jul 20, 2025).

Originally assigned to: @lhecker on GitHub.

Windows Terminal version

1.22.11751

Windows build number

10.0.19045.6093

Other Software

tested with mintty or windows terminal

Steps to reproduce

Run a WSL shell via wsl.exe.
Run cmd.exe from there (add path if not included).
exit

Expected Behavior

Back to normal WSL shell operation.

Actual Behavior

The keyboard is in some kind of raw input mode, sending sequences per key. No escape.

Originally created by @mintty on GitHub (Jul 20, 2025). Originally assigned to: @lhecker on GitHub. ### Windows Terminal version 1.22.11751 ### Windows build number 10.0.19045.6093 ### Other Software tested with mintty or windows terminal ### Steps to reproduce Run a WSL shell via wsl.exe. Run cmd.exe from there (add path if not included). exit ### Expected Behavior Back to normal WSL shell operation. ### Actual Behavior The keyboard is in some kind of raw input mode, sending sequences per key. No escape.
claunia added the Issue-BugNeeds-Tag-FixArea-ServerProduct-ConptyPriority-2 labels 2026-01-31 08:42:53 +00:00
Author
Owner

@lhecker commented on GitHub (Aug 8, 2025):

FWIW, since you're reporting this issue for 19045 (Windows 10), my PR technically doesn't fix your issue. It does however fix the issue for the upcoming Windows 11 versions, after merging my "passthrough-mode" change for ConPTY.

@lhecker commented on GitHub (Aug 8, 2025): FWIW, since you're reporting this issue for 19045 (Windows 10), my PR technically doesn't fix your issue. It does however fix the issue for the upcoming Windows 11 versions, after merging my "passthrough-mode" change for ConPTY.
Author
Owner

@j4james commented on GitHub (Aug 8, 2025):

@lhecker I suspect they may have replaced their inbox conhost with a modern version of OpenConsole, and that's why they have this issue on Windows 10. It's likely not reproducible on a standard Windows 10 installation.

@j4james commented on GitHub (Aug 8, 2025): @lhecker I suspect they may have replaced their inbox conhost with a modern version of OpenConsole, and that's why they have this issue on Windows 10. It's likely not reproducible on a standard Windows 10 installation.
Author
Owner

@lhecker commented on GitHub (Aug 8, 2025):

Ah, yeah that makes sense. @mintty if that's indeed correct, it would be great if you could confirm whether my fix worked for you. It should be in the next canary release. 🙂 If you can't, don't worry about it.

@lhecker commented on GitHub (Aug 8, 2025): Ah, yeah that makes sense. @mintty if that's indeed correct, it would be great if you could confirm whether my fix worked for you. It should be in the next canary release. 🙂 If you can't, don't worry about it.
Author
Owner

@mintty commented on GitHub (Aug 9, 2025):

Is there any prospective release date already?

@mintty commented on GitHub (Aug 9, 2025): Is there any prospective release date already?
Author
Owner

@DHowett commented on GitHub (Aug 9, 2025):

Canary should be out now

@DHowett commented on GitHub (Aug 9, 2025): Canary should be out now
Author
Owner

@mintty commented on GitHub (Aug 10, 2025):

No idea what canary means; the current release 1.23 does not yet include the fix.

@mintty commented on GitHub (Aug 10, 2025): No idea what canary means; the current release 1.23 does not yet include the fix.
Author
Owner

@j4james commented on GitHub (Aug 10, 2025):

@mintty See Installing Windows Terminal Canary

@j4james commented on GitHub (Aug 10, 2025): @mintty See [Installing Windows Terminal Canary](https://github.com/microsoft/terminal?tab=readme-ov-file#installing-windows-terminal-canary)
Author
Owner

@mintty commented on GitHub (Aug 10, 2025):

Yes, it's fixed. Thanks.

@mintty commented on GitHub (Aug 10, 2025): Yes, it's fixed. Thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23458