public static function cols( $cache = true ) {
		static $cols = false;
		if( !$cols || !$cache ) {
			$cols = intval(`tput cols`);
		}

		return $cols ? : 80;
	}

	/**
	 * The row size of the current terminal as returned by tput
	 *
	 * @staticvar bool|int $rows the cached value for the number of columns
	 * @param bool $cache Whether to cache the response
	 * @return int
	 */
	public static function rows( $cache = true ) {
		static $rows = false;
		if( !$rows || !$cache ) {
			$rows = intval(`tput lines`);
		}

		return $rows ? : 24;
	}