Revert "Support multibyte input"
This reverts commit 6d9e54816f828983bcf383ce6fce287bd3ca05b9.
This commit is contained in:
parent
7e0f56fb3d
commit
06bbacc086
@ -26,8 +26,7 @@ class Reline::ANSI
|
||||
unless @@buf.empty?
|
||||
return @@buf.shift
|
||||
end
|
||||
c = @@input.raw(&:getbyte)
|
||||
(c == 0x16 && @@input.raw(min: 0, tim: 0, &:getbyte)) || c
|
||||
@@input.raw(&:getbyte)
|
||||
end
|
||||
|
||||
def self.ungetc(c)
|
||||
|
Loading…
x
Reference in New Issue
Block a user