ruby-changes:68390
From: aycabta <ko1@a...>
Date: Mon, 11 Oct 2021 21:17:10 +0900 (JST)
Subject: [ruby-changes:68390] 89556a6555 (master): [ruby/reline] Remove a comment for debug
https://git.ruby-lang.org/ruby.git/commit/?id=89556a6555 From 89556a6555abc508cced1189c02cf4ea8e9a661b Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Mon, 11 Oct 2021 20:57:59 +0900 Subject: [ruby/reline] Remove a comment for debug https://github.com/ruby/reline/commit/5f3ccda3d5 --- 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 8d1d4da633..e72e571a13 100644 --- a/lib/reline/windows.rb +++ b/lib/reline/windows.rb @@ -233,7 +233,7 @@ class Reline::Windows https://github.com/ruby/ruby/blob/trunk/lib/reline/windows.rb#L233 def self.check_input_event num_of_events = 0.chr * 8 - while @@output_buf.empty? #or true + while @@output_buf.empty? Reline.core.line_editor.resize next if @@WaitForSingleObject.(@@hConsoleInputHandle, 100) != 0 # max 0.1 sec next if @@GetNumberOfConsoleInputEvents.(@@hConsoleInputHandle, num_of_events) == 0 or num_of_events.unpack1('L') == 0 -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/