Skip to content

Commit

Permalink
Confirm on exit (#209)
Browse files Browse the repository at this point in the history
Co-authored-by: Sakse <[email protected]>
  • Loading branch information
dalum and dalum committed Sep 1, 2020
1 parent 2ee1965 commit 38030f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/repl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ function create_keybindings()
if buffer(s).size > 0
LineEdit.edit_delete(buffer(s)); rewrite_with_ANSI(s)
else
println(terminal(s))
return :abort
LineEdit.edit_abort(s)
end
end

Expand Down

0 comments on commit 38030f8

Please sign in to comment.