summaryrefslogtreecommitdiff
path: root/ui/ui.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert.hirtz@laposte.net>2020-06-03 23:05:44 +0200
committerHubert Hirtz <hubert.hirtz@laposte.net>2020-06-03 23:05:44 +0200
commit31b8f90aa0c75f52d03db7ca9fba41bddb8429fa (patch)
tree1db2ad54aedfafe8a50fd0fff56fdfa5cab3933a /ui/ui.go
parentNick colors (diff)
Show JOIN and PARTs
Diffstat (limited to 'ui/ui.go')
-rw-r--r--ui/ui.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ui.go b/ui/ui.go
index bd9f6fa..c7ad49e 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -112,13 +112,13 @@ func (ui *UI) RemoveBuffer(title string) {
}
}
-func (ui *UI) AddLine(buffer string, line string, t time.Time) {
+func (ui *UI) AddLine(buffer string, line string, t time.Time, isStatus bool) {
idx := ui.bufferList.Idx(buffer)
if idx < 0 {
return
}
- ui.bufferList.AddLine(idx, line, t)
+ ui.bufferList.AddLine(idx, line, t, isStatus)
if idx == ui.bufferList.Current {
ui.drawBuffer()