public function updateProgress($text) {
		$text = self::format($text);
		if($this->progressValue) {
			$len = strlen($this->progressValue);
			fwrite(STDOUT, "\033[{$len}D");
		}
		$this->progressValue = $text;

		fwrite(STDOUT, $this->progressValue);
	}