summaryrefslogtreecommitdiff
path: root/ui/buffers.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtz.pm>2021-09-13 15:22:03 +0200
committerHubert Hirtz <hubert@hirtz.pm>2021-09-13 15:22:03 +0200
commita3e89db13edd4400f3df1b26d913426470457b0e (patch)
tree58264b06cbb94c75a946f5c18792a8903b11aa9b /ui/buffers.go
parentShow mode changes (diff)
Fix horizontal channel bar drawing
Diffstat (limited to 'ui/buffers.go')
-rw-r--r--ui/buffers.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/buffers.go b/ui/buffers.go
index db2bc97..bf045ca 100644
--- a/ui/buffers.go
+++ b/ui/buffers.go
@@ -440,6 +440,10 @@ func (bs *BufferList) DrawHorizontalBufferList(screen tcell.Screen, x0, y0, widt
screen.SetContent(x, y0, ' ', nil, tcell.StyleDefault)
x++
}
+ for x < width {
+ screen.SetContent(x, y0, ' ', nil, tcell.StyleDefault)
+ x++
+ }
}
func (bs *BufferList) DrawVerticalMemberList(screen tcell.Screen, x0, y0, width, height int, members []irc.Member, offset *int) {