MCPcopy 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_mainMethod · 0.80
handle_eventMethod · 0.80
handle_redoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected