Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ move_up
Method
move_up
crates/opencode-tui/src/components/question.rs:77–81 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
75
}
76
77
pub fn move_up(&mut self) {
78
if self.selected_index > 0 {
79
self.selected_index -= 1;
80
}
81
}
82
83
pub fn move_down(&mut self) {
84
if let Some(q) = &self.current_question {
Callers
3
handle_event
Method · 0.45
scroll_active_dialog
Method · 0.45
handle_dialog_key
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected