Browse Source

New clean command for messed up windows

pull/1/head
Gregory Rudolph 5 years ago
parent
commit
12a5722d3b
  1. 20
      cmdClean.go

20
cmdClean.go

@ -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…
Cancel
Save