diff options
Diffstat (limited to 'lib/reline.rb')
-rw-r--r-- | lib/reline.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/reline.rb b/lib/reline.rb index 91863ebfea..f88c368e5c 100644 --- a/lib/reline.rb +++ b/lib/reline.rb @@ -243,6 +243,8 @@ module Reline break if line_editor.finished? end Reline::IOGate.move_cursor_column(0) + rescue Errno::EIO + # Maybe the I/O has been closed. rescue StandardError => e line_editor.finalize Reline::IOGate.deprep(otio) |