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

Graphs on the Linux console think symbols from ▁ to █ and ⎺ to ⎽ are available. #29

Open
rbanffy opened this issue Nov 20, 2023 · 0 comments

Comments

@rbanffy
Copy link

rbanffy commented Nov 20, 2023

There doesn't seem to be a way to use the Urwid-based graphs on the Linux console, even though Urwid supports sticking to the console-friendly set (by not setting smooth in the bar graph's satt parameter).

Maybe checking whether TERM is 'linux' (on https://github.com/wardi/speedometer/blob/master/speedometer.py#L1101) would suffice (for Linux, at least).

This happens because the locale is set to UTF-8 and that setting is still present in the console, even though the console can only display the first page of the Unicode space. My "Sextant" fonts in Urwid also fail badly on the console for the same reasons. :-(

@rbanffy rbanffy changed the title Graphs require unicode, which is not available on the Linux console Graphs on the Linux console think symbols from ▁ to █ and ⎺ to ⎽ are available. Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant