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

Method close

crates/opencode-tui/src/components/dialogs/subagent.rs:47–50  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

45 }
46
47 pub fn close(&mut self) {
48 self.open = false;
49 self.subagent = None;
50 }
51
52 pub fn is_open(&self) -> bool {
53 self.open

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected