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

Color output not working when using Windows Terminal with Atlas Engine renderer #151

Closed
aloebs29 opened this issue Apr 13, 2023 · 2 comments

Comments

@aloebs29
Copy link

Windows Terminal
Version: 1.16.10261.0

I'm using MSYS2 under Windows Terminal as described here: https://www.msys2.org/docs/terminals/

Windows terminal has a setting under "Profiles" -> "Defaults" (or select the profile you're using) -> "Advanced" -> "Use the new text renderer ('AtlasEngine')" (or in the JSON, "useAtlasEngine" = true under the profile's settings).

If this setting is enabled, terminal coloring no longer works (only with my MSYS2 profiles).

With default rendering:
image

With Atlas Engine rendering:
image

For some background/context here, I'm trying to get visible cursor highlighting in vim on windows terminal. The new renderer in windows terminal has a workaround/fix that the default does not: microsoft/terminal#9610 (comment)

@lhecker
Copy link

lhecker commented Apr 17, 2023

This isn't a bug in msys2, but rather due to Windows Terminal: microsoft/terminal#13989
The reason it happens is described here: microsoft/terminal#13989 (comment)
If you're using Source Code Pro (the @ in your font does look very similar), simply upgrading your font will fix the issue until I fix the text renderer.

@aloebs29
Copy link
Author

Thank you very much for the help, and good catch! Indeed, my MSYS2 profiles are the only ones that use Source Code Pro. Changing the font to Cascadia fixes the issue.

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

2 participants