Skip to main content

Immediate-Mode-Rendering

Todo TUI in Rust 2. Rendering the View layer with ratatui

·5 mins
The rat starts painting. We implement the rendering layer: immediate-mode drawing, a three-zone layout with Layout::vertical, a task table with StatefulWidget and row highlighting, a context-sensitive command bar that changes with InputMode, and the subtle Block gotcha that cost a few minutes of debugging.

Todo CLI in Rust 5. Next step moving from CLI to a TUI with ratatui

·12 mins
We close the series by exploring what it means to migrate from CLI to TUI with ratatui: how the interaction model changes, what frictions Rust introduces with ownership and &mut in a persistent event loop, and why hexagonal architecture absorbs the change without surgery.