Skip to content
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

support ENABLE_VIRTUAL_TERMINAL_PROCESSING per application #6973

Closed
mintty opened this issue Jul 18, 2020 · 2 comments
Closed

support ENABLE_VIRTUAL_TERMINAL_PROCESSING per application #6973

mintty opened this issue Jul 18, 2020 · 2 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@mintty
Copy link

mintty commented Jul 18, 2020

VT escape sequence handling can be enabled by design with some Windows API call enabling the ENABLE_VIRTUAL_TERMINAL_PROCESSING mode.
(Refer #6634 (comment)).
There is also a registry feature to change the default to enable it (https://stackoverflow.com/questions/51680709/colored-text-output-in-powershell-console-using-ansi-vt100-codes/51681675#51681675).
However, it would be very useful to enable it per application, i.e. per executable, by some kind of property (settable via Explorer Properties menu and some kind of executable flag, e.g. via manifest). (Not sure whether #2035 addresses this issue.)

@mintty mintty added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Jul 18, 2020
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Jul 18, 2020
@DHowett
Copy link
Member

DHowett commented Aug 13, 2020

Hey, thanks for the request! Sorry to take so long to triage it. This is a specific case of #4954, so I'm going to close this out in favor of that. There's already some investigation underway over there 😄 where I'd like to make the input AND output states process-specific.

Having it be manifested would be pretty radical.

We've talked about having a new template for command-line applications in VS that sets nice defaults and pretty much communicates to the console subsystem that "this application is a well-behaved VT-only app" -- it would enable strict mode and passthrough mode and not allow buffer readout and all of the really annoying weird parts of the win32 API.

In general, /dup #4954

@ghost
Copy link

ghost commented Aug 13, 2020

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!

@ghost ghost closed this as completed Aug 13, 2020
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 13, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants