lib/reline/ansi.rb in reline-0.3.1 vs lib/reline/ansi.rb in reline-0.3.2

- old
+ new

@@ -148,10 +148,10 @@ return @@buf.shift end until c = @@input.raw(intr: true) { @@input.wait_readable(0.1) && @@input.getbyte } Reline.core.line_editor.resize end - (c == 0x16 && @@input.raw(min: 0, tim: 0, &:getbyte)) || c + (c == 0x16 && @@input.raw(min: 0, time: 0, &:getbyte)) || c rescue Errno::EIO # Maybe the I/O has been closed. nil rescue Errno::ENOTTY nil