Skip to content

Commit

Permalink
exotui: show which command was entered when invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
neutralinsomniac committed Apr 3, 2020
1 parent b6e759a commit be60d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/exotui/exotui.go
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ func main() {
// try to parse as int
i, err := strconv.Atoi(line)
if err != nil {
programState.lastError = "invalid input"
programState.lastError = fmt.Sprintf("invalid command: %c", line[0])
break
}
if tag, ok := programState.tagShortcutsRev[i]; ok {
Expand Down

0 comments on commit be60d1b

Please sign in to comment.