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 are wrong with unicode characters on Windows #237

Closed
anupamsr opened this issue Apr 10, 2023 · 2 comments
Closed

Color are wrong with unicode characters on Windows #237

anupamsr opened this issue Apr 10, 2023 · 2 comments

Comments

@anupamsr
Copy link

anupamsr commented Apr 10, 2023

Source code of colors.cpp
image
Output on windows 11 terminal
image
On linux (wsl)
image

Am I missing some flag?

@flagarde
Copy link
Collaborator

@anupamsr Do you know which font is used in your terminal for the emoji ? I think it is a font problem. I would plan to use the same font for windows terminal and linux https://unifoundry.com/unifont/ I have made some try it's working on win10 and 11 but it's not implemented yet. Unicode(utf8) for windows is still buggy I guess.

@anupamsr
Copy link
Author

You are right. I am using nerd font version of AnonymousPro. I changed the font and it is working correctly. Thanks.

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