Add list page scrolling to list example

This commit is contained in:
Caleb Bassi 2019-01-31 19:14:37 -08:00
parent c0336475e6
commit 436eb3a261

View File

@ -49,6 +49,12 @@ func main() {
case "k", "<Up>":
l.ScrollUp()
ui.Render(l)
case "<C-f>":
l.PageDown()
ui.Render(l)
case "<C-b>":
l.PageUp()
ui.Render(l)
}
}
}