-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENABLE_VIRTUAL_TERMINAL_PROCESSING is set by default in pseudo console on Windows 10 20H2. #9432
Comments
Yes. See src/host/srvinit.cpp. |
Yep, this is by design. /dup #1965 |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
Thank you for your quick response. Just a question from my interest, is it possible to disable this flag by default in pseudo console? Setting |
A better question might be: why do you want to disable VT processing? It might help to better understand your scenario. |
I asked just because I was interested. I don't have the scenario in which this behavior causes any problem so far. |
I followed the link provided by @eryksun and I'm just curious ... is the conditional expression below (from srvinit.cpp) well-formed?
|
@vefatica Sure is. That statement is basically two parts:
|
In that case I'd expect it to look like this:
|
Meh, stylistic difference. Taking a param by reference means the callee doesn't need to worry about if the out param is null or not. Most of our newer code with out params (as few as those are) uses params by reference, rather than pointers. |
The only argument of the |
OK, didn't know that was by reference. And the second isEnabled being inside SUCCEEDED(). It just looks really funny to me. |
oh no |
WELP. I am fixing this as MSFT:32071839. We will replicate that back out to fix my parenthesis error in the next day or so. Good catch and thank you. |
Environment
Windows 10 20H2 (Version 10.0.19042.804)
Steps to reproduce
Expected behavior
At least on older Windows 10 such as 1809, the result is:
Actual behavior
On Windows 20H2, the result is:
Is this the intentional behavior?
The text was updated successfully, but these errors were encountered: