module Kafo module ProgressBars class BlackWhite < ProgressBar private def finite_template 'Installing'.ljust(22) + ' ${} [${%}]' + ((@term_width >= 83) ? ' [${}]' : '') end def infinite_template 'Preparing installation ${}' end end end end