mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[GH-ISSUE #99] Support power shell on windows 10 and mintty using msys2 #63
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#63
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:

On msys2 mintty terminal, this library just dont works.
@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.
@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.
@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/
@mum4k commented on GitHub (Feb 23, 2019):
Please feel free to let me know if you have further questions.
@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.
@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.
@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