Use legacy console option prevents Terminal from launching ConPTYs correctly #2587

Closed
opened 2026-01-30 22:59:00 +00:00 by claunia · 3 comments
Owner

Originally created by @miniksa on GitHub (Jul 5, 2019).

I got this issue and after uncheck Use legacy console option, my terminal show up

image

Originally posted by @oclockvn in https://github.com/microsoft/terminal/issues/1364#issuecomment-508796240

This represents double-checking that the startup routines in entrypoints.cpp are ignoring the v1/v2 status when identifying a ConPTY-style connection and always doing v2.

Originally created by @miniksa on GitHub (Jul 5, 2019). I got this issue and after uncheck `Use legacy console` option, my terminal show up ![image](https://user-images.githubusercontent.com/3783976/60732611-b6003380-9f74-11e9-8fa6-63caa802b4b2.png) _Originally posted by @oclockvn in https://github.com/microsoft/terminal/issues/1364#issuecomment-508796240_ This represents double-checking that the startup routines in `entrypoints.cpp` are ignoring the v1/v2 status when identifying a ConPTY-style connection and always doing v2.
Author
Owner

@DHowett-MSFT commented on GitHub (Jul 9, 2019):

Confirming: we check the ForceV1 key and fail out if the user has ForceV1 and is requesting commandline launch. To make legacy console not interfere with CreatePseudoConsole (which doesn't use commandline launch), we need to detect that the server handle being passed in is for pseudoconsole work.
We could key off the presence of --signal in both cases.

@DHowett-MSFT commented on GitHub (Jul 9, 2019): Confirming: we check the ForceV1 key and fail out if the user has ForceV1 and is requesting commandline launch. To make legacy console not interfere with CreatePseudoConsole (which doesn't use commandline launch), we need to detect that the server handle being passed in is for pseudoconsole work. We could key off the presence of `--signal` in both cases.
Author
Owner

@DHowett-MSFT commented on GitHub (Jul 9, 2019):

(Confirmed this is broken in the windows image as well. pwincon refuses to launch because it bombs out in CreatePseudoConsole :))

@DHowett-MSFT commented on GitHub (Jul 9, 2019): (Confirmed this is broken in the windows image as well. pwincon refuses to launch because it bombs out in CreatePseudoConsole :))
Author
Owner

@ghost commented on GitHub (Aug 3, 2019):

:tada:This issue was addressed in #1935, which has now been successfully released as Windows Terminal Preview v0.3.2142.0.🎉

Handy links:

@ghost commented on GitHub (Aug 3, 2019): :tada:This issue was addressed in #1935, which has now been successfully released as `Windows Terminal Preview v0.3.2142.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v0.3.2142.0) * [Store Download](https://www.microsoft.com/store/apps/9n0dx20hk701?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2587