From 38030f83be7f43dfa86754d2fd3472b53efebd8d Mon Sep 17 00:00:00 2001 From: Sakse <17059936+dalum@users.noreply.github.com> Date: Tue, 1 Sep 2020 15:07:42 +0200 Subject: [PATCH] Confirm on exit (#209) Co-authored-by: Sakse --- src/repl.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/repl.jl b/src/repl.jl index aec396a..f57efc1 100644 --- a/src/repl.jl +++ b/src/repl.jl @@ -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