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

Method scroll_down_at

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

Source from the content-addressed store, hash-verified

102 }
103
104 pub fn scroll_down_at(&mut self, col: u16, row: u16) -> bool {
105 if !self.contains_sidebar_point(col, row) {
106 return false;
107 }
108 self.scroll_down();
109 true
110 }
111
112 fn is_collapsed(&self, section_key: &'static str) -> bool {
113 self.collapsed_sections

Callers 1

Calls 2

scroll_downMethod · 0.45

Tested by

no test coverage detected