def size_from_stty
      return unless @output.tty?
      out = run_command('stty', 'size')
      return unless out
      size = out.split.map(&:to_i)
      size if nonzero_column?(size[1])
    rescue IOError, SystemCallError
    end
def size_from_stty
      return unless @output.tty?
      out = run_command('stty', 'size')
      return unless out
      size = out.split.map(&:to_i)
      size if nonzero_column?(size[1])
    rescue IOError, SystemCallError
    end
Detect terminal size from stty utility

 @api private