support ENABLE_VIRTUAL_TERMINAL_PROCESSING per application #9684

Open
opened 2026-01-31 02:00:51 +00:00 by claunia · 0 comments
Owner

Originally created by @mintty on GitHub (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 https://github.com/microsoft/terminal/issues/6634#issuecomment-647726408).
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 https://github.com/microsoft/terminal/issues/2035 addresses this issue.)

Originally created by @mintty on GitHub (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 https://github.com/microsoft/terminal/issues/6634#issuecomment-647726408). 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 https://github.com/microsoft/terminal/issues/2035 addresses this issue.)
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 02:00:51 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9684