diff options
-rw-r--r-- | lib/rdoc/stats/normal.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/stats/normal.rb b/lib/rdoc/stats/normal.rb index 64e20cc3c8..32de631e2e 100644 --- a/lib/rdoc/stats/normal.rb +++ b/lib/rdoc/stats/normal.rb @@ -36,7 +36,7 @@ class RDoc::Stats::Normal < RDoc::Stats::Quiet # Clean the line with whitespaces so that leftover output from the # previous line doesn't show up. $stdout.print("\r" << (" " * @last_width) << ("\b" * @last_width) << "\r") if @last_width && @last_width > 0 - @last_width = 0 + @last_width = line.size $stdout.print("#{line}\r") else $stdout.puts(line) |