diff options
-rw-r--r-- | lib/reline/ansi.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/ansi.rb b/lib/reline/ansi.rb index 41f291809e..2eca2b0960 100644 --- a/lib/reline/ansi.rb +++ b/lib/reline/ansi.rb @@ -26,7 +26,7 @@ class Reline::ANSI unless @@buf.empty? return @@buf.shift end - @@input.getch&.ord + @@input.raw(&:getbyte) end def self.ungetc(c) |