Skip to content

Commit

Permalink
Fix newline string
Browse files Browse the repository at this point in the history
  • Loading branch information
Raggaer committed Mar 6, 2019
1 parent 551cd1e commit 6b4234c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func handleUserInput(input string) {
// Check if any form is active
if activeForm != nil {
activeForm.Stage++
activeForm.Fn(activeForm, input)
activeForm.Fn(activeForm, strings.TrimSpace(input))
return
}

Expand Down

0 comments on commit 6b4234c

Please sign in to comment.