mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
7e0f56fb3d
commit
06bbacc086
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue