module
Tui::ErrorScreen
Overview
Shared full-screen error display: clears the screen, prints message in the failed color, and optionally waits for a keypress before returning.
Extended Modules
Defined in:
tui/error_screen.crInstance Method Summary
-
#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. - #show(screen : Screen, message : String, error_color : String, hint_color : String, wait : Bool = true) : Nil