-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Minimal change to documentation #6229
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,14 +3,16 @@ All you need to get started building Textual apps. | |
|
|
||
| ## Requirements | ||
|
|
||
| Textual requires Python 3.9 or later (if you have a choice, pick the most recent Python). Textual runs on Linux, macOS, Windows and probably any OS where Python also runs. | ||
| Textual requires Python 3.9 or later (if you have a choice, pick the most recent Python). Textual runs on Linux, macOS, Windows and probably any OS where Python also runs. You also need a unicode font that includes the line drawing and block characters, which are used to render the controls. | ||
|
|
||
| !!! info "Your platform" | ||
|
|
||
| ### :fontawesome-brands-linux: Linux (all distros) | ||
|
|
||
| All Linux distros come with a terminal emulator that can run Textual apps. | ||
|
|
||
| The linux console is more limited and not all fonts are suitable. See [Linux console]](./linux-console.md) for details. | ||
|
||
|
|
||
| ### :material-apple: macOS | ||
|
|
||
| The default terminal app is limited to 256 colors. We recommend installing a newer terminal such as [iterm2](https://iterm2.com/), [Ghostty](https://ghostty.org/), [Kitty](https://sw.kovidgoyal.net/kitty/), or [WezTerm](https://wezfurlong.org/wezterm/). | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| ## Linux Console | ||
|
|
||
| The Linux console has limited capabilities, to maintain back compatibility with legacy VGA hardware. It supports unicode but colours are restricted and the fonts have very limited numbers of glyphs. There is a choice of 256 glyphs with 16 colors or 512 glyphs with 8 colors. Textual really needs more than 8 colors, so a font with 256 glyphs is needed. The console uses fonts in a special PSF file type; these are often in the directory /usr/share/consolefonts/. | ||
|
||
|
|
||
| Textual uses line drawing and block characters to render the widgets. Many of the widely available font files lack a full set of block drawing characters, and this gives a poor appearance. The Unifoundry project have a 512 glyph font that includes all the characters needed, but this only gives you eight colors. A subset of the Unifoundry font has been developed for use with textual and you can find it at [font-for-textual](https://github.com/jsatchell/font-for-textual). | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is going to confuse many developers who aren't familiar with these terms. I think we can drop this sentence.