# File lib/mcollective/rpc/progress.rb, line 15
      def initialize(size=nil)
        @twirl = ['|', '/', '-', "\\", '|', '/', '-', "\\"]
        @twirldex = 0

        if size
          @size = size
        else
          cols = Util.terminal_dimensions[0] - 22

          # Defaults back to old behavior if it
          # couldn't figure out the size or if
          # its more than 60 wide
          if cols <= 0
            @size = 0
          elsif cols > 60
            @size = 60
          else
            @size = cols
          end
        end
      end