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

Method scroll_up_at

crates/opencode-tui/src/components/sidebar.rs:96–102  ·  view source on GitHub ↗
(&mut self, col: u16, row: u16)

Source from the content-addressed store, hash-verified

94 }
95
96 pub fn scroll_up_at(&mut self, col: u16, row: u16) -> bool {
97 if !self.contains_sidebar_point(col, row) {
98 return false;
99 }
100 self.scroll_up();
101 true
102 }
103
104 pub fn scroll_down_at(&mut self, col: u16, row: u16) -> bool {
105 if !self.contains_sidebar_point(col, row) {

Callers 1

scroll_sidebar_up_atMethod · 0.80

Calls 2

scroll_upMethod · 0.45

Tested by

no test coverage detected