diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/reline.rb | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/reline.rb b/lib/reline.rb index f730f8af12..b1ff8fb56c 100644 --- a/lib/reline.rb +++ b/lib/reline.rb @@ -358,19 +358,10 @@ module Reline io_gate.move_cursor_column(0) rescue Errno::EIO # Maybe the I/O has been closed. - rescue StandardError => e + ensure line_editor.finalize io_gate.deprep(otio) - raise e - rescue Exception - # Including Interrupt - line_editor.finalize - io_gate.deprep(otio) - raise end - - line_editor.finalize - io_gate.deprep(otio) end # GNU Readline waits for "keyseq-timeout" milliseconds to see if the ESC |
