diff options
-rw-r--r-- | termui/show_bug.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/termui/show_bug.go b/termui/show_bug.go index ab0fd472..c0896e08 100644 --- a/termui/show_bug.go +++ b/termui/show_bug.go @@ -443,7 +443,7 @@ func (sb *showBug) scrollUp(g *gocui.Gui, v *gocui.View) error { func (sb *showBug) scrollDown(g *gocui.Gui, v *gocui.View) error { _, maxY := v.Size() - lastViewName := sb.childViews[len(sb.childViews)-1] + lastViewName := sb.mainSelectableView[len(sb.mainSelectableView)-1] lastView, err := g.View(lastViewName) if err != nil { |