Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
12932 opened this issue Nov 25, 2022 · 3 comments
Open
1 task done
Labels
feature Requests for a new feature.

Comments

@12932
Copy link

12932 commented Nov 25, 2022

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 12932 added the feature Requests for a new feature. label Nov 25, 2022
@ClementTsang
Copy link
Owner

ClementTsang commented Jan 3, 2023

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.

@felix91gr
Copy link

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

@ClementTsang
Copy link
Owner

ClementTsang commented Mar 28, 2023

@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, cjbassi/gotop#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Requests for a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants