Revert "Use IO#getbyte"

This reverts commit 685f12bbca50ff9b7a16b3016b3b8b3f2ac8b796.
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)