Skip to main content

draw_info_dialog

Function draw_info_dialog 

Source
pub fn draw_info_dialog(
    f: &mut Frame<'_>,
    app: &AppState,
    title: &str,
    message: &str,
)
Expand description

Render a non-interactive info dialog — no buttons, renders once, caller is expected to return to the event loop (the dialog stays visible until the next terminal.draw() replaces it).