From 08c9439879329c653c2fabd7c8c9bf7f4c145d66 Mon Sep 17 00:00:00 2001 From: Mike Crute Date: Thu, 3 Aug 2023 13:38:45 -0700 Subject: client: clear screen after connect --- cmd/client/client.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/client/client.go b/cmd/client/client.go index a404c65..da4015e 100644 --- a/cmd/client/client.go +++ b/cmd/client/client.go @@ -223,6 +223,9 @@ func clientMain(cfg app.Config, host, port, username string) { } defer ws.Close() + // Clear the terminal screen + fmt.Printf("\033c") + errc := make(chan error) go proxy.CopyWithErrors(os.Stdout, ws, errc) -- cgit v1.2.3