Add list page scrolling to list example
This commit is contained in:
parent
c0336475e6
commit
436eb3a261
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user