aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorYO4 <ysno@ac.auone-net.jp>2021-12-09 22:23:25 +0900
committergit <svn-admin@ruby-lang.org>2021-12-10 22:18:25 +0900
commit74765a5a36da70b0cc5c66ec71283819ef1160aa (patch)
treee22560e0ace4e2c03c248a576ac85ccd0d969b3e /lib
parentaed21d6574e1c18d64d446cf3709545aa7a608c2 (diff)
downloadruby-74765a5a36da70b0cc5c66ec71283819ef1160aa.tar.gz
[ruby/reline] unleash pasting speed
https://github.com/ruby/reline/commit/074e407c62
Diffstat (limited to 'lib')
-rw-r--r--lib/reline/windows.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/windows.rb b/lib/reline/windows.rb
index 297713b44e..950d0cf0ca 100644
--- a/lib/reline/windows.rb
+++ b/lib/reline/windows.rb
@@ -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