Installation#
Installing ttt is straight-foward:
pipx install ttt
Optionally:
- If you want video, you will need to install
ffmpeg1 on your system. - And if you want some audio with your video, you'll need
portaudio2, and installpipx install ttt[audio]instead of the command above.
You should now be able to use the ttt command, but probably won't be able to see any output!
To fix that, you'll need to install a compatible font. Then, to correctly render the output, you'll need to set up your terminal emulator.
Compatible fonts#
Any font that's monospace and implements the Symbols for Legacy Computing Supplement Unicode block should be compatible.
However, as of writing, only two fonts (!) implement this Unicode block:
- Iosevka: huge unicode coverage, extremely customizable, ligatures support, my favorite monospace font!
๐บ โ๐ถณ๐ถฏ๐ถฏ๐บ ๐ถ๐ตง๐ดช๐ดฐ๐ถท๐ท๐ตโ Check out my custom Iosevka variant, Iosevka Kotan. ๐ฏง๐ดต๐ดช๐ดช๐ดช๐ด๐ด (It's the font you're reading right now!) ๐ถ๐ถ๐ต
- Cascadia Code: made by Microsoft, bundled with Windows Terminal, seems pretty decent.
๐ต๐ต๐ดช๐ดช๐ดช๐ดช๐ถ๐ถ Note: If you don't like either those fonts, that's fine! ๐ต๐ทฅโ๐ต๐ถโ๐ทค๐ถ You don't need to actually use them as your terminal font, but ๐ด๐ต ๐ฎ ๐ดฎ๐ดฒ๐ฎ ๐ถ๐ด you can still install one of them so that your OS can use it as ๐บซ๐ฎ๐ท๐ท๐ฎ๐บจ a fallback font, only for the required missing Unicode blocks.
Setting up your terminal emulator#
To correctly display ttt's outputs to the screen:
- Make sure the character width and line height are set to defaults (in iTerm, the
v|iandn|nsettings should be set to 100).
๐ต๐ต๐ดช๐ดช๐ดช๐ดช๐ถ๐ถ Note: If using a font other than the ones listed above, ๐ต๐ทฅโ๐ต๐ถโ๐ทค๐ถ try to adapt those two settings to match the aspect ratio of ๐ด๐ต ๐ฎ ๐ดฎ๐ดฒ๐ฎ ๐ถ๐ด the fallback font you installed. For Iosevka, the native ratio ๐บซ๐ฎ๐ท๐ท๐ฎ๐บจ of its block characters is exactly 16:40, and Cascadia 18:40.
- If using Iosevka, use the "Iosevka Term" variant, which is narrower.