1
0
mirror of https://github.com/Rudi9719/kbtui.git synced 2026-03-22 06:27:24 +00:00

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