tammoippen/plotille

Windows 10 terminal does not display brailles

Closed this issue · 2 comments

running the sample code in a win 10 terminal window shows the attached outcome, whereas running the same code in eg. pycharms terminal works as described

Screenshot 2022-03-26 020755

Hi @benbensenton ,

which win 10 terminal are you using exactly? CMD, Powershell, or the new microsoft terminal? They all have different capabilities..

here you actually have two issues:

  • the unicode braille characters are not displayed. This can usually be fixed by using a monospaced font, that can display them, eg https://github.com/tonsky/FiraCode or most from
    https://github.com/ryanoasis/nerd-fonts Do the trick
  • the ansi color codes are not interpreted (eg esc[38;5;25m). This is usually closely tight to the terminal you are using. Maybe you have some luck using colorama with your code - for the basic ansi color codes this should work. Or you try a different terminal?

Best tammo

thank you @tammoippen ,
i tried a lot of fonts, fira code, cascadia code and many other monospaced fonts, the one working (displaying the glyphs and colors correctly) was Iosevca Term, https://github.com/be5invis/Iosevka/blob/v15.1.0/doc/PACKAGE-LIST.md
thanks ben