summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authordelthas <delthas@dille.cc>2022-05-10 11:01:04 +0200
committerdelthas <delthas@dille.cc>2022-05-10 11:01:04 +0200
commit032dd996659caf0c9833295dd8b55cea17373874 (patch)
tree32f0c3bd2619e948aeff27fc49f25c97e12f49e9 /ui
parentEnable specifying the size of disabled channel & member columns (diff)
Fix horizontal channel list buffer underline position
Diffstat (limited to 'ui')
-rw-r--r--ui/buffers.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/buffers.go b/ui/buffers.go
index db2a462..4bf4d20 100644
--- a/ui/buffers.go
+++ b/ui/buffers.go
@@ -645,6 +645,7 @@ func (bs *BufferList) DrawHorizontalBufferList(screen tcell.Screen, x0, y0, widt
x = x0
for i, b := range bs.list[*offset:] {
+ i := i + *offset
if width <= x-x0 {
break
}