diff options
author | Tulir Asokan <tulir@maunium.net> | 2019-04-27 15:02:21 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2019-04-27 15:02:21 +0300 |
commit | bc7e2d9a1c871e3fbce932f9695fc24083bc2cc4 (patch) | |
tree | 89f104f59ee6aa33ea41140c8472ff5ba95f97a9 /ui/tag-room-list.go | |
parent | 60e3fe392711ef233aa68a062a7ee96d145d2cb4 (diff) |
Add locks and other sync stuff
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 } |