Guides
Guides
Learn the Model–Update–View architecture, commands, program options, styling and the runtime internals.
11 entries
Installation
Add dart_tui to your project and render your first view.
Model–Update–View
The Elm-style architecture at the heart of dart_tui.
Commands
Run async work and control the terminal with Cmd.
Program options
Configure the runtime — alt screen, mouse, FPS, focus and more.
Styling
Lipgloss-inspired, composable, immutable text styling.
Colors & gradients
True-color text, per-character gradients and background detection.
Text & layout
Word wrap, width measurement, truncation and tab expansion.
Readline keys
Emacs-style editing bindings in text input & text area.
File logging
Write diagnostics to a file without corrupting the UI.
Architecture notes
How the event loop and renderers actually work.
Examples
60+ runnable programs covering every feature.