Skip to content

Commit

Permalink
Remove a comment for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Oct 11, 2021
1 parent 1a46678 commit 5f3ccda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reline/windows.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def self.process_key_event(repeat_count, virtual_key_code, virtual_scan_code, ch

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
Expand Down

0 comments on commit 5f3ccda

Please sign in to comment.