bottom icon indicating copy to clipboard operation
bottom copied to clipboard

[Feature] Fallback to --dot_marker in terminals that don't support braille fonts

Open 12932 opened this issue 2 years ago • 3 comments

Checklist

Describe the feature request

It would be nice to have btm detect if the terminal/console font is able to render braille, and if not, have it fall back to dot_marker on startup

12932 avatar Nov 25 '22 13:11 12932

Not sure if I can detect Braille font support specifically, but I can perhaps detect Unicode support at the very least. If that works out I'll probably also add/change some flags so it's easy to override an automatic detection. That said, no guarantees if this approach will work at all...

Regardless, I'll take a look at some point, though if anyone has any ideas it's much appreciated.

ClementTsang avatar Jan 03 '23 18:01 ClementTsang

What makes a terminal not support unicode/braille fonts? Asking (literally) for a friend who just installed btm and can't see the graphics in their full glory

felix91gr avatar Mar 28 '23 18:03 felix91gr

@felix91gr That's usually caused by the terminal not having a braille font to fall back to. Have they tried looking at https://clementtsang.github.io/bottom/0.8.0/troubleshooting/#the-graph-points-look-brokenstrange? For Linux, https://github.com/cjbassi/gotop/issues/18 might be helpful (it's unfortunately something I have little control over other than adding alternatives).

Feel free to open a separate discussion question if there's still issues.

ClementTsang avatar Mar 28 '23 18:03 ClementTsang