commit 9a8d331

delthas  ·  2022-12-23 17:48:34 +0000 UTC
parent e9a829f
Show connected messages in the current buffer as well
1 files changed,  +1, -1
M app.go
M app.go
+1, -1
1@@ -751,7 +751,7 @@ func (app *App) handleIRCEvent(netID string, ev interface{}) {
2 		if s.Nick() != app.cfg.Nick {
3 			body = fmt.Sprintf("Connected to the server as %s", s.Nick())
4 		}
5-		app.win.AddLine(netID, "", ui.Line{
6+		app.addStatusLine(netID, ui.Line{
7 			At:   msg.TimeOrNow(),
8 			Head: "--",
9 			Body: ui.PlainString(body),