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

[ruby/reline] unleash pasting speed

https://github.com/ruby/reline/commit/074e407c62
This commit is contained in:
YO4 2021-12-09 22:23:25 +09:00 committed by git
parent aed21d6574
commit 74765a5a36

View file

@ -299,7 +299,7 @@ class Reline::Windows
end
def self.empty_buffer?
if not @@input_buf.empty?
if not @@output_buf.empty?
false
elsif @@kbhit.call == 0
true