Skip to content

Commit

Permalink
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion base/client.jl
Original file line number Diff line number Diff line change
@@ -380,7 +380,11 @@ function run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_fil
print("julia> ")
flush(stdout)
end
eval_user_input(parse_input_line(input), true)
try
eval_user_input(parse_input_line(input), true)
catch err
isa(err, InterruptException) ? print("\n\n") : rethrow()
end
end
end
end

0 comments on commit 8e22777

Please sign in to comment.