diff options
Diffstat (limited to 'ui/command-processor.go')
-rw-r--r-- | ui/command-processor.go | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ui/command-processor.go b/ui/command-processor.go index 77a7b3d..7a4c2c1 100644 --- a/ui/command-processor.go +++ b/ui/command-processor.go @@ -76,12 +76,12 @@ func NewCommandProcessor(parent *MainView) *CommandProcessor { Gomuks: parent.gmx, }, aliases: map[string]*Alias{ - "part": {"leave"}, - "send": {"sendevent"}, - "msend": {"msendevent"}, - "state": {"setstate"}, - "mstate":{"msetstate"}, - "rb": {"rainbow"}, + "part": {"leave"}, + "send": {"sendevent"}, + "msend": {"msendevent"}, + "state": {"setstate"}, + "mstate": {"msetstate"}, + "rb": {"rainbow"}, }, commands: map[string]CommandHandler{ "unknown-command": cmdUnknownCommand, @@ -102,6 +102,7 @@ func NewCommandProcessor(parent *MainView) *CommandProcessor { "msetstate": cmdMSetState, "rainbow": cmdRainbow, "invite": cmdInvite, + "hprof": cmdHeapProfile, }, } } |