1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert "Use IO#getbyte"

This reverts commit 685f12bbca.
This commit is contained in:
aycabta 2019-09-14 00:10:45 +09:00
parent 06bbacc086
commit e8fff0ec9c

View file

@ -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)