lib/kafo/progress_bar.rb in kafo-0.8.0 vs lib/kafo/progress_bar.rb in kafo-0.8.1

- old
+ new

@@ -11,10 +11,10 @@ class ProgressBar def initialize @lines = 0 @all_lines = 0 @total = :unknown - @term_width = HighLine::SystemExtensions.terminal_size[0] + @term_width = HighLine::SystemExtensions.terminal_size[0] || 0 @bar = PowerBar.new @bar.settings.tty.infinite.template.main = infinite_template @bar.settings.tty.finite.template.main = finite_template @bar.settings.tty.finite.template.padchar = ' ' @bar.settings.tty.finite.template.barchar = '.'