From 18a29973f86f8b775b2705d2566743e91452c404 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Fri, 4 Oct 2019 13:21:40 -0400 Subject: [PATCH] Add special character - for del cmd --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index c16ba6c..a62e296 100644 --- a/main.go +++ b/main.go @@ -351,7 +351,7 @@ func handleInput() error { return nil } } - if inputString[:1] == "+" { + if inputString[:1] == "+" || inputString[:1] == "-" { cmd := strings.Split(inputString, " ") RunCommand(cmd...) } else {