summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordelthas <delthas@dille.cc>2022-12-23 18:48:34 +0100
committerdelthas <delthas@dille.cc>2022-12-23 18:48:34 +0100
commit9a8d331b1931c83dbd4ff3d0361a36d2ee613fe4 (patch)
tree1a4f87b1b27709e87cd3475447b885f402e077d2
parentBackoff from 0 seconds to 1 minute on reconnect (diff)
Show connected messages in the current buffer as well
-rw-r--r--app.go2
1 files changed, 1 insertions, 1 deletions
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),