[GH-ISSUE #99] Support power shell on windows 10 and mintty using msys2 #63

Closed
opened 2026-03-03 16:22:03 +03:00 by kerem · 7 comments
Owner

Originally created by @jcbritobr on GitHub (Feb 1, 2019).
Original GitHub issue: https://github.com/mum4k/termdash/issues/99

In power shell, on windows 10, the graphics get bad characters, and graphics becomes strange:
image

On msys2 mintty terminal, this library just dont works.

Originally created by @jcbritobr on GitHub (Feb 1, 2019). Original GitHub issue: https://github.com/mum4k/termdash/issues/99 In power shell, on windows 10, the graphics get bad characters, and graphics becomes strange: ![image](https://user-images.githubusercontent.com/6579862/52098163-084bbb80-25b5-11e9-99ab-f664cf81a37a.png) On msys2 mintty terminal, this library just dont works.
kerem 2026-03-03 16:22:03 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@mum4k commented on GitHub (Feb 1, 2019):

Thank you for the bug report. I will try to spin this up on Windows and see what can be done.

<!-- gh-comment-id:459580197 --> @mum4k commented on GitHub (Feb 1, 2019): Thank you for the bug report. I will try to spin this up on Windows and see what can be done.
Author
Owner

@mum4k commented on GitHub (Feb 9, 2019):

I have tried this today and have good and bad news.

First the good news - this seems to be working well in both the power shell and windows default console with minor tweaks. Looks like the default font both of these use doesn't support Unicode characters. But if you right-click on the top bar of the console window and choose properties, you can change the font. One of the pre-installed ones is "MS Gothic" which seems do handle Unicode well. I got this running in both the console and power shell.

Additional background:
https://stackoverflow.com/questions/388490/how-to-use-unicode-characters-in-windows-command-line

The bad news is about mintty, indeed that doesn't work at all. Looks like termbox itself (what we use to render on a terminal) doesn't support mintty. I looked at alternatives and found tcell, which also claims to not support mintty with some explanation (see their README):

https://github.com/gdamore/tcell
Also: nsf/termbox-go#66

If you can help me find a termbox / tcell alternative that does work on mintty I will be happy to make it work.

Please let me know if you managed to get this to work in power shell based on the instructions above.

<!-- gh-comment-id:462015970 --> @mum4k commented on GitHub (Feb 9, 2019): I have tried this today and have good and bad news. First the good news - this seems to be working well in both the power shell and windows default console with minor tweaks. Looks like the default font both of these use doesn't support Unicode characters. But if you right-click on the top bar of the console window and choose properties, you can change the font. One of the pre-installed ones is "MS Gothic" which seems do handle Unicode well. I got this running in both the console and power shell. Additional background: https://stackoverflow.com/questions/388490/how-to-use-unicode-characters-in-windows-command-line The bad news is about mintty, indeed that doesn't work at all. Looks like termbox itself (what we use to render on a terminal) doesn't support mintty. I looked at alternatives and found tcell, which also claims to not support mintty with some explanation (see their README): https://github.com/gdamore/tcell Also: nsf/termbox-go#66 If you can help me find a termbox / tcell alternative that does work on mintty I will be happy to make it work. Please let me know if you managed to get this to work in power shell based on the instructions above.
Author
Owner

@mum4k commented on GitHub (Feb 9, 2019):

Also take a look at these fonts which might be better than the pre-installed one:

https://math.berkeley.edu/~serganov/ilyaz.org/software/fonts/

<!-- gh-comment-id:462016082 --> @mum4k commented on GitHub (Feb 9, 2019): Also take a look at these fonts which might be better than the pre-installed one: https://math.berkeley.edu/~serganov/ilyaz.org/software/fonts/
Author
Owner

@mum4k commented on GitHub (Feb 23, 2019):

Please feel free to let me know if you have further questions.

<!-- gh-comment-id:466611510 --> @mum4k commented on GitHub (Feb 23, 2019): Please feel free to let me know if you have further questions.
Author
Owner

@mapl commented on GitHub (May 2, 2019):

I want to throw in some cents that Microsoft is actually improving their console.
Interesting Blog

https://devblogs.microsoft.com/commandline/

Especially https://devblogs.microsoft.com/commandline/new-experimental-console-features/ show off some good progress in their preview windows 10 builds.

<!-- gh-comment-id:488830466 --> @mapl commented on GitHub (May 2, 2019): I want to throw in some cents that Microsoft is actually improving their console. Interesting Blog https://devblogs.microsoft.com/commandline/ Especially https://devblogs.microsoft.com/commandline/new-experimental-console-features/ show off some good progress in their preview windows 10 builds.
Author
Owner

@mum4k commented on GitHub (May 2, 2019):

That looks really promising, thanks @mapl. This gives us hope that termbox or tcell might be able to implement the support at some point.

<!-- gh-comment-id:488838498 --> @mum4k commented on GitHub (May 2, 2019): That looks really promising, thanks @mapl. This gives us hope that termbox or tcell might be able to implement the support at some point.
Author
Owner

@mapl commented on GitHub (May 6, 2019):

There is coming up some neat stuff

BUILD 2019 Announcement Today

https://youtu.be/8gw0rXPMMPE

https://github.com/microsoft/terminal

<!-- gh-comment-id:489752561 --> @mapl commented on GitHub (May 6, 2019): There is coming up some neat stuff BUILD 2019 Announcement Today https://youtu.be/8gw0rXPMMPE https://github.com/microsoft/terminal
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/termdash#63
No description provided.