From 4a49ae20cf3b33f7111b59033bb5d51e21cd6043 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Wed, 9 Oct 2019 11:05:40 -0400 Subject: [PATCH] Update input title on join --- cmdJoin.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmdJoin.go b/cmdJoin.go index fecc1f4..8d040d4 100644 --- a/cmdJoin.go +++ b/cmdJoin.go @@ -27,6 +27,7 @@ func cmdJoin(cmd []string) { channel.TopicName = cmd[2] printToView("Feed", fmt.Sprintf("You are joining: @%s#%s", channel.Name, channel.TopicName)) clearView("Chat") + viewTitle("Input", fmt.Sprintf(" @%s#%s ", channel.Name, channel.TopicName)) go populateChat() } else if len(cmd) == 2 { channel.MembersType = keybase.USER @@ -34,6 +35,7 @@ func cmdJoin(cmd []string) { channel.TopicName = "" printToView("Feed", fmt.Sprintf("You are joining: @%s", channel.Name)) clearView("Chat") + viewTitle("Input", fmt.Sprintf(" @%s ", channel.Name)) go populateChat() } else { printToView("Feed", fmt.Sprintf("To join a team use %sjoin ", cmdPrefix))