summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-10-11 20:57:59 +0900
committergit <svn-admin@ruby-lang.org>2021-10-11 21:17:02 +0900
commit89556a6555abc508cced1189c02cf4ea8e9a661b (patch)
treeb4fe2b04a45a5eb6c2f241907364fece351dcf79
parent4b024234b2141d5fd024639b4ce6feeb95fb3f14 (diff)
[ruby/reline] Remove a comment for debug
https://github.com/ruby/reline/commit/5f3ccda3d5
-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 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