diff options
Diffstat (limited to 'lib')
-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 2eca2b0960..41f291809e 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.raw(&:getbyte) + @@input.getch&.ord end def self.ungetc(c) |