The color is not displayed correctly on Windows

Answered

https://stackoverflow.com/questions/62321932/goland-shows-some-strange-characters-in-console

Through this link, the problem of incorrect color of Goland Go Run was solved, but the correct color still could not be displayed when go run is executed directly in Goland Terminal.

In Windows Terminal, it can be displayed correctly.

 

Below is the screenshot.

 

How can I solve this problem?

0
3 comments

Hello,

Please refer to this comment for a workaround and explanation of the situation.

Also, feel free to go to the IDEA-225582 and vote for it to stay updated.

Should you have any questions, please let me know.

0

I use zsh in msys2 ,not cmd.exe.

Same thing with Windows Terminal

0

In fact, it doesn't matter which terminal you launch in the IDE, since there is also an integration on our side under the hood that does not yet allow these symbols to be displayed correctly. The problem will be solved with the Windows API (in theory, the display of colors will be the same as in the new Windows Terminal).

0

Please sign in to leave a comment.