mirror of
https://github.com/Rudi9719/kbtui.git
synced 2026-03-22 08:47:24 +00:00
Goroutine the sendMessage() for better performance
This commit is contained in:
2
main.go
2
main.go
@ -202,7 +202,7 @@ func handleInput(g *gocui.Gui) error {
|
|||||||
printToView(g, "Feed", "To join a PM use /j <user>")
|
printToView(g, "Feed", "To join a PM use /j <user>")
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
sendChat(inputString)
|
go sendChat(inputString)
|
||||||
}
|
}
|
||||||
clearView(g, "Input")
|
clearView(g, "Input")
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user