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

Method set_focused

crates/opencode-tui/src/components/prompt.rs:540–542  ·  view source on GitHub ↗
(&mut self, focused: bool)

Source from the content-addressed store, hash-verified

538 }
539
540 pub fn set_focused(&mut self, focused: bool) {
541 self.focused = focused;
542 }
543
544 pub fn is_focused(&self) -> bool {
545 self.focused

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected