From 9a8d331b1931c83dbd4ff3d0361a36d2ee613fe4 Mon Sep 17 00:00:00 2001 From: delthas Date: Fri, 23 Dec 2022 18:48:34 +0100 Subject: Show connected messages in the current buffer as well --- app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.go b/app.go index e193f14..f65ec4c 100644 --- a/app.go +++ b/app.go @@ -751,7 +751,7 @@ func (app *App) handleIRCEvent(netID string, ev interface{}) { if s.Nick() != app.cfg.Nick { body = fmt.Sprintf("Connected to the server as %s", s.Nick()) } - app.win.AddLine(netID, "", ui.Line{ + app.addStatusLine(netID, ui.Line{ At: msg.TimeOrNow(), Head: "--", Body: ui.PlainString(body), -- cgit v1.2.3