9.3
tui Tutorial: Build a Terminal UI from Scratch
This tutorial introduces the most common tui APIs in order: draw text, control the cursor and colors, handle input, and finally build a small application. Every interactive example exits with Esc. For the complete API, see the package manual index.scrbl; for more examples, see demo/.
Platform: tui supports Linux and Android/Termux only. On other platforms, use tui/char for a headless preview (see Next Steps).