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

GameFinder.Example: ColoredConsoleTarget works with Windows Terminal, but not with default conhost PowerShell or cmd #54

Closed
Nutzzz opened this issue Mar 7, 2023 · 0 comments

Comments

@Nutzzz
Copy link
Contributor

Nutzzz commented Mar 7, 2023

[With conhost PowerShell or cmd] I get results like, e.g.:
←[37m2023-03-07 09:56:57.6406←[0m|←[91mERROR←[0m|InstallInfo #17 for de84247f-f7fb-41c6-8daa-02b7f12bf457 (syndicate-1993) does not have the value "baseInstallPath"←[0m

I'm not sure if this is an implementation detail or an issue with NLog's library.

EDIT: Hm, looks like this may be the culprit.
EDIT # 2: Note that using the EnableVirtualTerminal() example provided in the above issue does the trick.

@erri120 erri120 closed this as completed in a75ed5f Mar 8, 2023
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