1
0
mirror of https://github.com/Rudi9719/kbtui.git synced 2026-08-01 18:16:08 +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
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")
}