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

Method scroll_up

crates/opencode-tui/src/components/sidebar.rs:119–123  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

117 }
118
119 fn scroll_up(&mut self) {
120 if self.scroll_offset > 0 {
121 self.scroll_offset -= 1;
122 }
123 }
124
125 fn scroll_down(&mut self) {
126 let max_scroll = self.max_scroll();

Callers 1

scroll_up_atMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected