module

Tui::ErrorScreen

Shared full-screen error display: clears the screen, prints message in the failed color, and optionally waits for a keypress before returning.

Instance methods

render(message : String, error_color : String, hint_color : String, wait : Bool = true) : String

Renders the error text block (no I/O), so callers can verify the exact output without a live Screen/terminal.

Source
show(screen : Screen, message : String, error_color : String, hint_color : String, wait : Bool = true) : Nil
Source