Skip to content

Commit

Permalink
unleash pasting speed
Browse files Browse the repository at this point in the history
  • Loading branch information
YO4 committed Dec 9, 2021
1 parent 00021fa commit 074e407
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 @@ -274,7 +274,7 @@ def self.in_pasting?
end

def self.empty_buffer?
if not @@input_buf.empty?
if not @@output_buf.empty?
false
elsif @@kbhit.call == 0
true
Expand Down

0 comments on commit 074e407

Please sign in to comment.