MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / AlertDialog

Class AlertDialog

crates/opencode-tui/src/components/dialogs/alert.rs:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18pub struct AlertDialog {
19 title: String,
20 message: String,
21 alert_type: AlertType,
22 open: bool,
23}
24
25impl AlertDialog {
26 pub fn new(title: &str, message: &str, alert_type: AlertType) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected