Revert "Use IO#getbyte"
This reverts commit 685f12bbca50ff9b7a16b3016b3b8b3f2ac8b796.
This commit is contained in:
parent
06bbacc086
commit
e8fff0ec9c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user