commit a3e89db

Hubert Hirtz  ·  2021-09-13 13:22:03 +0000 UTC
parent 359d158
Fix horizontal channel bar drawing
2 files changed,  +5, -1
+4, -0
 1@@ -440,6 +440,10 @@ func (bs *BufferList) DrawHorizontalBufferList(screen tcell.Screen, x0, y0, widt
 2 		screen.SetContent(x, y0, ' ', nil, tcell.StyleDefault)
 3 		x++
 4 	}
 5+	for x < width {
 6+		screen.SetContent(x, y0, ' ', nil, tcell.StyleDefault)
 7+		x++
 8+	}
 9 }
10 
11 func (bs *BufferList) DrawVerticalMemberList(screen tcell.Screen, x0, y0, width, height int, members []irc.Member, offset *int) {
+1, -1
1@@ -331,7 +331,7 @@ func (ui *UI) drawStatusBar(x0, y, width int) {
2 		return
3 	}
4 
5-	s := new(StyledStringBuilder)
6+	var s StyledStringBuilder
7 	s.SetStyle(tcell.StyleDefault.Foreground(tcell.ColorGray))
8 	s.WriteString("--")
9