Browse Source

Add special character - for del cmd

pull/1/head
Gregory Rudolph 5 years ago
parent
commit
18a29973f8
  1. 2
      main.go

2
main.go

@ -351,7 +351,7 @@ func handleInput() error {
return nil return nil
} }
} }
if inputString[:1] == "+" { if inputString[:1] == "+" || inputString[:1] == "-" {
cmd := strings.Split(inputString, " ") cmd := strings.Split(inputString, " ")
RunCommand(cmd...) RunCommand(cmd...)
} else { } else {

Loading…
Cancel
Save