Tui::App
Inherits Tui::Widget / Tui::Reactive / Reference / Object
Constructors
new
SourceClass methods
add_overlay(renderer : OverlayRenderer) : Nil
Register an overlay to be rendered on top of everything
CSS file path (set by subclass or via css_file class method)
Instance methods
Enable hot reload for CSS file
mark_dirty!
Override mark_dirty! to automatically wake up event loop This means any widget calling mark_dirty! from a background fiber will automatically trigger a re-render without manual wakeup
Mount and layout without starting terminal (for testing)
wakeup
Wake up the event loop to process dirty flag and rerender Call this from background fibers after updating state