diff options
Diffstat (limited to 'ui/buffers.go')
-rw-r--r-- | ui/buffers.go | 4 |
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) { |