<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ratatui on Home</title>
    <link>https://blog.rafaelfernandez.dev/tags/ratatui/</link>
    <description>Recent content in Ratatui on Home</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>© 2026 Rafael Fernandez</copyright>
    <lastBuildDate>Sat, 28 Feb 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.rafaelfernandez.dev/tags/ratatui/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Todo TUI in Rust 5. Event polling, the edit vertical slice, and closing</title>
      <link>https://blog.rafaelfernandez.dev/posts/todo-tui-rust-5-event-polling-edit-vertical-slice/</link>
      <pubDate>Sat, 28 Feb 2026 00:00:00 +0000</pubDate>
      
      <guid>https://blog.rafaelfernandez.dev/posts/todo-tui-rust-5-event-polling-edit-vertical-slice/</guid>
      <description>The rat serves the last course. We fix input lag with non-blocking event polling, add the edit feature as a full vertical slice from application layer to TUI, watch the state machine grow from 3 to 4 variants with compiler-guided safety, and close with the key takeaways from the entire migration.</description>
      
    </item>
    
    <item>
      <title>Todo TUI in Rust 4. UX polish and the input popup</title>
      <link>https://blog.rafaelfernandez.dev/posts/todo-tui-rust-4-ux-polish-input-popup/</link>
      <pubDate>Wed, 25 Feb 2026 00:00:00 +0000</pubDate>
      
      <guid>https://blog.rafaelfernandez.dev/posts/todo-tui-rust-4-ux-polish-input-popup/</guid>
      <description>The rat learns to plate. Five UX improvements transform a monochrome prototype into a scannable, responsive tool: color coding, positive feedback, empty state guidance, transient messages, and a visual cursor. Then we replace the cramped command bar input with a centered modal popup.</description>
      
    </item>
    
    <item>
      <title>Todo TUI in Rust 3. Events, terminal safety, and the migration moment of truth</title>
      <link>https://blog.rafaelfernandez.dev/posts/todo-tui-rust-3-events-terminal-safety-migration/</link>
      <pubDate>Sat, 21 Feb 2026 00:00:00 +0000</pubDate>
      
      <guid>https://blog.rafaelfernandez.dev/posts/todo-tui-rust-3-events-terminal-safety-migration/</guid>
      <description>The rat wires up the ears. We implement mode-specific event handlers with crossterm, redesign the key mapping to use a toggle instead of separate keys, solve the terminal restore problem with a capture-cleanup-return pattern, and run cargo test to discover that zero lines changed outside the adapter.</description>
      
    </item>
    
    <item>
      <title>Todo TUI in Rust 2. Rendering the View layer with ratatui</title>
      <link>https://blog.rafaelfernandez.dev/posts/todo-tui-rust-2-rendering-view-layer-ratatui/</link>
      <pubDate>Wed, 18 Feb 2026 00:00:00 +0000</pubDate>
      
      <guid>https://blog.rafaelfernandez.dev/posts/todo-tui-rust-2-rendering-view-layer-ratatui/</guid>
      <description>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.</description>
      
    </item>
    
    <item>
      <title>Todo TUI in Rust 1. Scaffolding the TUI adapter and designing the state machine</title>
      <link>https://blog.rafaelfernandez.dev/posts/todo-tui-rust-1-scaffolding-tui-adapter-state-machine/</link>
      <pubDate>Sat, 14 Feb 2026 00:00:00 +0000</pubDate>
      
      <guid>https://blog.rafaelfernandez.dev/posts/todo-tui-rust-1-scaffolding-tui-adapter-state-machine/</guid>
      <description>We start a new series by migrating the CLI adapter to a ratatui TUI. We set up the new dependencies, design the module structure under adapters/tui/, model the interaction modes as an enum to make invalid states unrepresentable, and solve the ownership puzzle of cloning a repository in a persistent session.</description>
      
    </item>
    
    <item>
      <title>Todo CLI in Rust 5. Next step moving from CLI to a TUI with ratatui</title>
      <link>https://blog.rafaelfernandez.dev/posts/todo-cli-rust-5-cli-to-tui-with-ratatui/</link>
      <pubDate>Mon, 26 Jan 2026 00:00:00 +0000</pubDate>
      
      <guid>https://blog.rafaelfernandez.dev/posts/todo-cli-rust-5-cli-to-tui-with-ratatui/</guid>
      <description>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 &amp;amp;mut in a persistent event loop, and why hexagonal architecture absorbs the change without surgery.</description>
      
    </item>
    
  </channel>
</rss>
