Skip to main content

draw_ok_dialog

Function draw_ok_dialog 

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

Render an informational dialog with a plain-text message and OK button. Auto-sizes to fit content. Title is displayed in cyan, message in gray, whale separator at the bottom. Press Enter or Space to dismiss.