Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ is_focused
Method
is_focused
crates/opencode-tui/src/components/prompt.rs:544–546 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
542
}
543
544
pub fn is_focused(&self) -> bool {
545
self.focused
546
}
547
548
pub fn set_input(&mut self, input: String) {
549
self.input = input;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected