Skip to content

Commit

Permalink
Use the workaround when exit for exit keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
nodauf committed Apr 13, 2021
1 parent d52fe57 commit 94e522d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/prompt/prompt.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ func executor(in string) {
sessions.PrintOptions()
}
case "exit":
handleExit()
os.Exit(0)
// Not doing anything for just a new line
case "":
Expand Down

0 comments on commit 94e522d

Please sign in to comment.