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

Method scroll_up

crates/opencode-tui/src/components/session.rs:957–961  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

955 }
956
957 pub fn scroll_up(&mut self) {
958 if self.scroll_offset > 0 {
959 self.scroll_offset -= 1;
960 }
961 }
962
963 pub fn scroll_down(&mut self) {
964 let max_scroll = self.max_scroll_offset();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected