From 340e0ef575463deb9c1889b62795bf5c380b4c67 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Tue, 17 Sep 2019 22:00:02 -0400 Subject: [PATCH] Goroutine the sendMessage() for better performance --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 2c7fc46..a10f505 100644 --- a/main.go +++ b/main.go @@ -202,7 +202,7 @@ func handleInput(g *gocui.Gui) error { printToView(g, "Feed", "To join a PM use /j ") } default: - sendChat(inputString) + go sendChat(inputString) } clearView(g, "Input") return nil