mirror of
https://github.com/Rudi9719/kbtui.git
synced 2026-03-22 08:47:24 +00:00
Func to upload file, not implemented
This commit is contained in:
5
main.go
5
main.go
@ -75,6 +75,11 @@ func sendChat(message string) {
|
|||||||
chat.Send(message)
|
chat.Send(message)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func uploadFile(g *gocui.Gui, fileName string, fileTitle string) {
|
||||||
|
chat := k.NewChat(channel)
|
||||||
|
chat.Upload(fileTitle, fileName)
|
||||||
|
}
|
||||||
|
|
||||||
func populateList(g *gocui.Gui) {
|
func populateList(g *gocui.Gui) {
|
||||||
_, maxY := g.Size()
|
_, maxY := g.Size()
|
||||||
if testVar, err := k.ChatList(); err != nil {
|
if testVar, err := k.ChatList(); err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user