From 09c207d4be7f0924950fb775ad55664668b3dc80 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Fri, 18 Oct 2019 07:27:09 -0400 Subject: [PATCH] Bugfix: extra junk after +/- commands cause crash #20 --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index dd3bf0e..050047b 100644 --- a/main.go +++ b/main.go @@ -649,6 +649,7 @@ func handleInput(viewName string) error { } if inputString[:1] == "+" || inputString[:1] == "-" { cmd := strings.Split(inputString, " ") + cmd[0] = inputString[:1] RunCommand(cmd...) } else { go sendChat(inputString)