[前][次][番号順一覧][スレッド一覧]

ruby-changes:70149

From: YO4 <ko1@a...>
Date: Fri, 10 Dec 2021 22:18:36 +0900 (JST)
Subject: [ruby-changes:70149] 74765a5a36 (master): [ruby/reline] unleash pasting speed

https://git.ruby-lang.org/ruby.git/commit/?id=74765a5a36

From 74765a5a36da70b0cc5c66ec71283819ef1160aa Mon Sep 17 00:00:00 2001
From: YO4 <ysno@a...>
Date: Thu, 9 Dec 2021 22:23:25 +0900
Subject: [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 297713b44e4..950d0cf0ca3 100644
--- a/lib/reline/windows.rb
+++ b/lib/reline/windows.rb
@@ -299,7 +299,7 @@ class Reline::Windows https://github.com/ruby/ruby/blob/trunk/lib/reline/windows.rb#L299
   end
 
   def self.empty_buffer?
-    if not @@input_buf.empty?
+    if not @@output_buf.empty?
       false
     elsif @@kbhit.call == 0
       true
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]