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

Streaming mode back on

This commit is contained in:
Gregory Rudolph
2019-10-03 10:36:18 -04:00
parent a459f62cdf
commit aa62382868

22
cmdStream.go Normal file
View File

@ -0,0 +1,22 @@
// +build !rm_basic_commands allcommands reactcmd
package main
func init() {
command := Command{
Cmd: []string{"stream", "s" },
Description: "Stream all incoming messages",
Help: "",
Exec: cmdStream,
}
RegisterCommand(command)
}
func cmdStream(cmd []string) {
stream = true
channel.Name = ""
printToView("Feed", "You are now viewing the formatted stream")
clearView("Chat")
}