From 159773c277a4067f42037d1cbac31659de776382 Mon Sep 17 00:00:00 2001 From: raven Date: Tue, 10 Feb 2026 17:20:19 -0600 Subject: only show welcome message once --- client/application.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/application.go b/client/application.go index 0debedd..3b627b1 100644 --- a/client/application.go +++ b/client/application.go @@ -25,6 +25,7 @@ type application struct { cmdWindow cmdWindow prompts []window.Prompt activePaste <-chan string + welcomed bool } func newApplication(serverAddress string, insecure bool) *application { @@ -273,7 +274,10 @@ func (a *application) onAuth(uid string) { } } }) - a.cmdWindow.info("welcome! type /help for help. try: /join talk") + if !a.welcomed { + a.cmdWindow.info("welcome! type /help for help. try: /join talk") + a.welcomed = true + } } func (a *application) sendUpdate(o proto.Object, cb func(proto.Command)) { -- cgit v1.2.3