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

Function scroll_down_one

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

Source from the content-addressed store, hash-verified

2859
2860 #[test]
2861 fn scroll_down_one() {
2862 // 100 lines, viewport 20, start at 0: scroll to 1.
2863 assert_eq!(clamped_scroll(0, 1, 100, 20), 1);
2864 }
2865
2866 #[test]
2867 fn scroll_page_down() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected