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

Method scroll_down

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

Source from the content-addressed store, hash-verified

961 }
962
963 pub fn scroll_down(&mut self) {
964 let max_scroll = self.max_scroll_offset();
965 if self.scroll_offset < max_scroll {
966 self.scroll_offset += 1;
967 }
968 }
969
970 pub fn scroll_up_by(&mut self, lines: usize) {
971 let lines = lines.max(1);

Callers

nothing calls this directly

Calls 1

max_scroll_offsetMethod · 0.80

Tested by

no test coverage detected