From 74765a5a36da70b0cc5c66ec71283819ef1160aa Mon Sep 17 00:00:00 2001 From: YO4 Date: Thu, 9 Dec 2021 22:23:25 +0900 Subject: [PATCH] [ruby/reline] unleash pasting speed https://github.com/ruby/reline/commit/074e407c62 --- lib/reline/windows.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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