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 wdq colors in microsoft terminal #31

Open
VladimirAlexiev opened this issue Nov 4, 2019 · 3 comments
Open

support wdq colors in microsoft terminal #31

VladimirAlexiev opened this issue Nov 4, 2019 · 3 comments

Comments

@VladimirAlexiev
Copy link

Microsoft Terminal now supports VT escape sequences.

@VladimirAlexiev
Copy link
Author

MS gave this advice in microsoft/terminal#3432 :

In order for escape sequences to work in the Windows Console (conhost.exe, the vintage terminal on Windows), applications need to explicitly call SetConsoleMode with ENABLE_VIRTUAL_TERMINAL_PROCESSING. So perhaps something in the stack here isn't calling that?

For the record, installing wdq in WSL does correctly display the colors. This is because WSL itself is setting the console into the correct mode for all child processes it launches.

I've asked what is WSL and how do I install wdq into it.

Given that cygwin cat shows the colors, it's puzzling why wdq doesn't show them. @nichtich any advice?

@VladimirAlexiev
Copy link
Author

The color works fine in ConEmu so I'll use this as a workaround

@VladimirAlexiev
Copy link
Author

@nichtich wdtaxonomy shows the colors ok. What console output library do you use in the two cases, and can you switch wdq to use the same as wdtaxonomy?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant