diff options
-rw-r--r-- | cmd/client/client.go | 3 |
1 files changed, 3 insertions, 0 deletions
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) { | |||
223 | } | 223 | } |
224 | defer ws.Close() | 224 | defer ws.Close() |
225 | 225 | ||
226 | // Clear the terminal screen | ||
227 | fmt.Printf("\033c") | ||
228 | |||
226 | errc := make(chan error) | 229 | errc := make(chan error) |
227 | 230 | ||
228 | go proxy.CopyWithErrors(os.Stdout, ws, errc) | 231 | go proxy.CopyWithErrors(os.Stdout, ws, errc) |