From 7c2c2305fb45f3301b9a25aee44ac1f81337047e Mon Sep 17 00:00:00 2001 From: erwanlr Date: Sun, 14 Apr 2013 18:03:59 +0200 Subject: [PATCH] ProgressBar left margin trick --- lib/common/collections/wp_items/detectable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/collections/wp_items/detectable.rb b/lib/common/collections/wp_items/detectable.rb index d864c707..5ec84dd7 100755 --- a/lib/common/collections/wp_items/detectable.rb +++ b/lib/common/collections/wp_items/detectable.rb @@ -23,7 +23,7 @@ class WpItems < Array exclude_content: options[:exclude_content] ? %r{#{options[:exclude_content]}} : nil } progress_bar = ProgressBar.create(format: '%t %a <%B> (%c / %C) %P%% %e', - title: ' ', # Otherwise 'Progress' replaces the title + title: ' ', # Used to craete a left margin length: 120, total: targets.size) if options[:show_progression]