Browse Source

Goroutine the sendMessage() for better performance

pull/1/head
Gregory Rudolph 5 years ago
parent
commit
340e0ef575
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 2
      main.go

2
main.go

@ -202,7 +202,7 @@ func handleInput(g *gocui.Gui) error { @@ -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

Loading…
Cancel
Save