Phosphor::DetailScreen
Inherits Phosphor::Screen < Reference < Object
Shows the detail of the currently selected todo item.
Validates that the Screen abstraction generalises beyond
DashboardScreen. Msg::Back returns Cmd::Pop to signal intent to
navigate back; the navigation stack itself ships in Phase 19.
Constructors
new(app : App(S, M))
SourceInstance methods
Handles Msg::Back by returning Cmd::Pop. Msg::SelectNext advances
state.selected without leaving the detail view — the same
wrap-around behaviour as DashboardScreen. Ignores all other messages.
render(state : AppState, frame : Frame, buf : Buffer) : Void
Renders the selected todo's text into the full frame.