We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10ff101 commit 59334dbCopy full SHA for 59334db
src/pkgtop.go
@@ -235,7 +235,7 @@ func getPkgListEntries(pkgs []string) ([]*widgets.List,
235
func scrollLists(lists []*widgets.List, amount int,
236
row int, force bool) int {
237
for i, l := range lists {
238
- if row != -1 && row < len(l.Rows) {
+ if row != -1 && row <= len(l.Rows) {
239
l.SelectedRow = row
240
} else {
241
l.ScrollAmount(amount)
0 commit comments