1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/reline] Add Reline.ungetc to control buffer

43ac03c624
This commit is contained in:
aycabta 2021-03-23 00:49:58 +09:00
parent a5b6baae97
commit b764c8d3c0

View file

@ -446,6 +446,10 @@ module Reline
}
end
def self.ungetc(c)
Reline::IOGate.ungetc(c)
end
def self.line_editor
core.line_editor
end