MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / scroll_page_down

Function scroll_page_down

crates/openshell-tui/src/app.rs:2867–2870  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2865
2866 #[test]
2867 fn scroll_page_down() {
2868 // 100 lines, viewport 20, start at 0: scroll to 20.
2869 assert_eq!(clamped_scroll(0, 20, 100, 20), 20);
2870 }
2871
2872 #[test]
2873 fn scroll_page_down_clamps_at_bottom() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected