Cresium::App
Inherits Tui::App < Tui::Widget < Tui::Reactive < Reference < Object
Cresium TUI application: a stopwatch screen and a timer screen (each
supporting multiple entries), toggled with [tab], plus a help overlay.
Routes input to whichever screen's controller is active; owns nothing
screen-specific itself.
Constants
Constructors
Instance methods
Builds the widget tree: both screens (stacked, one hidden), the help overlay, and the too-small message, all on top of each other via z-index.
App-wide keys that must win over whichever screen is active: ? and
[escape] for the help overlay, [tab] to switch screens. Everything
else falls through to the base class (which handles [q]/quit).
Routes the key to whichever screen's controller is currently active.
Exposed for spec/key_dispatch_spec.cr and external callers; the state
itself belongs to the controllers.