aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 297713b44e..950d0cf0ca 100644
--- a/lib/reline/windows.rb
+++ b/lib/reline/windows.rb
@@ -299,7 +299,7 @@ class Reline::Windows
end
def self.empty_buffer?
- if not @@input_buf.empty?
+ if not @@output_buf.empty?
false
elsif @@kbhit.call == 0
true