Hello World
By the end of this guide, you will:
-
Write your first VIEW callable that renders text to the terminal
-
Write your first UPDATE callable that handles keyboard events
-
Use predicate helpers (
.q?,.ctrl_c?) to check which key was pressed -
Return
Command.exitfrom UPDATE to quit the application -
Understand what
Rooibos.rundoes to start your app -
Understand what a VIEW returns (RatatuiRuby widgets like
paragraph) -
Understand what an UPDATE returns (model or command)
-
Run your app and see it respond to keyboard input
⚠️ This page is a stub. Help us write it! See the Documentation Plan and Style Guide.
User Stories
Story -3: Hello World + Quit
As a terminal user
I want to launch a minimal TUI application that I can quit
So that I can verify the application runs
Acceptance Criteria
-
Application displays “Hello, File Browser!” text
-
Application displays “Press ‘q’ to quit” instruction
-
Pressing ‘q’ or Ctrl+C exits the application cleanly
Notes
-
First runnable TUI application
-
Demonstrates basic rendering and quit functionality