From 9dd2c5c95880567f049f8e2f1df6e11f10c48b95 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Wed, 2 Oct 2019 08:07:56 -0400 Subject: [PATCH] Spacing out configurable section and removing warning for small teams since general is tried on failure --- main.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 0b3990c..56d4791 100644 --- a/main.go +++ b/main.go @@ -12,12 +12,16 @@ import ( ) // Configurable section + + var downloadPath = "/tmp/" var outputFormat = "┌──[$USER@$DEVICE] [$ID] [$DATE - $TIME]\n└╼ $MSG" // 02 = Day, Jan = Month, 06 = Year var dateFormat = "02Jan06" // 15 = hours, 04 = minutes, 05 = seconds var timeFormat = "15:04" + + // End configurable section var k = keybase.NewKeybase() @@ -217,7 +221,6 @@ func layout(g *gocui.Gui) error { fmt.Fprintln(chatView, "/u $path $title - Uploads file $path with title $title") fmt.Fprintln(chatView, "/d $msgId $downloadName - Downloads file from $msgId to $DownloadPath/$downloadName") fmt.Fprintln(chatView, "/s - Experimental: View all incoming messages from everywhere.") - fmt.Fprintln(chatView, " Please note: small teams only have #general") fmt.Fprintln(chatView, "/q - Exit") } if inputView, err3 := g.SetView("Input", maxX/2-maxX/3, maxY-4, maxX-1, maxY-1); err3 != nil {