diff options
Diffstat (limited to 'ui/tag-room-list.go')
-rw-r--r-- | ui/tag-room-list.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/tag-room-list.go b/ui/tag-room-list.go index c965f10..dfc7cb2 100644 --- a/ui/tag-room-list.go +++ b/ui/tag-room-list.go @@ -277,7 +277,7 @@ func (trl *TagRoomList) Draw(screen mauview.Screen) { screen.SetCell(width-1, 0, tcell.StyleDefault, '▼') y := 1 - for i := trl.Length() - 1; i >= 0; i-- { + for i := len(items) - 1; i >= 0; i-- { if y >= height { return } |