mirror of https://github.com/Rudi9719/kbtui.git
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.
21 lines
371 B
21 lines
371 B
// +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") |
|
clearView("List") |
|
go populateChat() |
|
go populateList() |
|
}
|
|
|