mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
06bbacc086
commit
e8fff0ec9c
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class Reline::ANSI
|
||||||
unless @@buf.empty?
|
unless @@buf.empty?
|
||||||
return @@buf.shift
|
return @@buf.shift
|
||||||
end
|
end
|
||||||
@@input.raw(&:getbyte)
|
@@input.getch&.ord
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.ungetc(c)
|
def self.ungetc(c)
|
||||||
|
|
Loading…
Reference in a new issue