Keybase TUI written in Go
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// +build !rm_basic_commands allcommands streamcmd
|
|
|
|
|
|
|
|
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")
|
|
|
|
viewTitle("Input", " Stream - Not in a chat /j to join ")
|
|
|
|
clearView("Chat")
|
|
|
|
}
|