aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reline.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-05-27 07:35:35 +0900
committeraycabta <aycabta@gmail.com>2019-05-27 07:35:35 +0900
commit2805c55aa39bf6127e1e684deb0d5a0291cb6479 (patch)
tree3bd0b501fd986254cbb9f3944dbe7bafcbc50924 /lib/reline.rb
parentc49796c9301845e17bd2d5b254ce75d40c898d56 (diff)
downloadruby-2805c55aa39bf6127e1e684deb0d5a0291cb6479.tar.gz
Move to next of last line by ^C
Diffstat (limited to 'lib/reline.rb')
-rw-r--r--lib/reline.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/reline.rb b/lib/reline.rb
index 2077087f5d..aef750813e 100644
--- a/lib/reline.rb
+++ b/lib/reline.rb
@@ -347,10 +347,12 @@ module Reline
end
Reline::IOGate.move_cursor_column(0)
rescue StandardError => e
+ @@line_editor.finalize
Reline::IOGate.deprep(otio)
raise e
end
+ @@line_editor.finalize
Reline::IOGate.deprep(otio)
end