diff options
Diffstat (limited to 'pkg/gui/list_context.go')
-rw-r--r-- | pkg/gui/list_context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/list_context.go b/pkg/gui/list_context.go index 445b0f3d0..9f0d86372 100644 --- a/pkg/gui/list_context.go +++ b/pkg/gui/list_context.go @@ -77,7 +77,7 @@ func (self *ListContext) FocusLine() { view.FocusPoint(view.OriginX(), self.GetPanelState().GetSelectedLineIdx()) if self.RenderSelection { _, originY := view.Origin() - displayStrings := self.GetDisplayStrings(originY, view.InnerHeight()) + displayStrings := self.GetDisplayStrings(originY, view.InnerHeight()+1) self.Gui.renderDisplayStringsAtPos(view, originY, displayStrings) } view.Footer = formatListFooter(self.GetPanelState().GetSelectedLineIdx(), self.GetItemsLength()) |