Goroutine the sendMessage() for better performance

This commit is contained in:
2019-09-17 22:00:02 -04:00
parent 700da928e9
commit 340e0ef575

View File

@ -202,7 +202,7 @@ func handleInput(g *gocui.Gui) error {
printToView(g, "Feed", "To join a PM use /j <user>")
}
default:
sendChat(inputString)
go sendChat(inputString)
}
clearView(g, "Input")
return nil