From a058386d1b2344a21ef1e514b2243739781f5433 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Wed, 18 Oct 2017 07:09:32 -0600 Subject: [PATCH] Better ui --- connect.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/connect.go b/connect.go index b7a365fd..b01ff56c 100644 --- a/connect.go +++ b/connect.go @@ -223,8 +223,11 @@ func (c *Connection) runClient() { if c.File.Hash != HashBytes(decrypted) { fmt.Printf("\nUh oh! %s is corrupted! Sorry, try again.\n", c.File.Name) } else { - fmt.Printf("\nDownloaded %s!", c.File.Name) + fmt.Printf("\nReceived file written to %s", c.File.Name) } + } else { + fmt.Println("File sent.") + // TODO: Add confirmation } }