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

Method close

crates/opencode-tui/src/components/dialogs/alert.rs:55–57  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

53 }
54
55 pub fn close(&mut self) {
56 self.open = false;
57 }
58
59 pub fn is_open(&self) -> bool {
60 self.open

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected