mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/reline] Remove a comment for debug
https://github.com/ruby/reline/commit/5f3ccda3d5
This commit is contained in:
parent
4b024234b2
commit
89556a6555
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue