mirror of https://github.com/Rudi9719/kbtui.git
Gregory Rudolph
5 years ago
1 changed files with 20 additions and 0 deletions
@ -0,0 +1,20 @@
@@ -0,0 +1,20 @@
|
||||
// +build !rm_basic_commands allcommands cleancmd
|
||||
|
||||
package main |
||||
|
||||
func init() { |
||||
command := Command{ |
||||
Cmd: []string{"clean", "c"}, |
||||
Description: "- Clean, or redraw chat view", |
||||
Help: "", |
||||
Exec: cmdClean, |
||||
} |
||||
|
||||
RegisterCommand(command) |
||||
} |
||||
|
||||
func cmdClean(cmd []string) { |
||||
clearView("Chat") |
||||
go populateChat() |
||||
|
||||
} |
Loading…
Reference in new issue