commit 2f253f6
Hubert Hirtz
·
2021-10-26 15:21:31 +0000 UTC
parent 93fed87
status bar drawing: fix off-by-one error
1 files changed,
+1,
-7
M
ui/ui.go
M
ui/ui.go
+1,
-7
1@@ -333,13 +333,7 @@ func (ui *UI) Draw(members []irc.Member) {
2 }
3
4 func (ui *UI) drawStatusBar(x0, y, width int) {
5- width--
6-
7- st := tcell.StyleDefault.Dim(true)
8-
9- for x := x0; x < x0+width; x++ {
10- ui.screen.SetContent(x, y, ' ', nil, st)
11- }
12+ clearArea(ui.screen, x0, y, width, 1)
13
14 if ui.status == "" {
15 return