Open davep opened 1 year ago
I think we could probably do this will a large str.translate table that converts the unicode box characters in to +---+|
etc.
Would be great to see something like this.
I'm trying to do something similar to Ubuntu's subiquity (python) terminal installer
I can get most of it looking good, but some parts - eg the scrollbar, don't display:
Somewhat related to the original thinking in #2658: there are situations where a Textual application will be run in a way that it's difficult, if not impossible, to use a font that has all the characters necessary to display correctly. A classic example of this would be running on a GNU/Linux console (no graphical environment, just the raw terminal).
Here's an example of that from a question on Discord:
We should add a way, perhaps via an environment variable, of turning on a "just use ASCII" mode, so that applications can still look useable in such situations.