Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ get_input
Method
get_input
crates/opencode-tui/src/components/prompt.rs:497–499 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
495
}
496
497
pub fn get_input(&self) -> &str {
498
&self.input
499
}
500
501
pub fn cursor_position(&self) -> usize {
502
self.cursor_position
Callers
5
render_main
Method · 0.80
handle_event
Method · 0.80
copy_prompt_to_clipboard
Method · 0.80
cut_prompt_to_clipboard
Method · 0.80
handle_redo
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected