From 89556a6555abc508cced1189c02cf4ea8e9a661b Mon Sep 17 00:00:00 2001 From: aycabta Date: Mon, 11 Oct 2021 20:57:59 +0900 Subject: [PATCH] [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 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