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

Method close

crates/opencode-tui/src/components/slash_command.rs:41–45  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

39 }
40
41 pub fn close(&mut self) {
42 self.open = false;
43 self.query.clear();
44 self.filtered.clear();
45 }
46
47 pub fn is_open(&self) -> bool {
48 self.open

Callers 1

select_currentMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected