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

Method toggle

crates/opencode-tui/src/components/thinking.rs:35–37  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

33 }
34
35 pub fn toggle(&mut self) {
36 self.collapsed = !self.collapsed;
37 }
38
39 pub fn expand(&mut self) {
40 self.collapsed = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected