diff options
author | delthas <delthas@dille.cc> | 2022-05-10 11:01:04 +0200 |
---|---|---|
committer | delthas <delthas@dille.cc> | 2022-05-10 11:01:04 +0200 |
commit | 032dd996659caf0c9833295dd8b55cea17373874 (patch) | |
tree | 32f0c3bd2619e948aeff27fc49f25c97e12f49e9 | |
parent | Enable specifying the size of disabled channel & member columns (diff) |
Fix horizontal channel list buffer underline position
-rw-r--r-- | ui/buffers.go | 1 |
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 } |