src/mako/cli/output/Output.php
public function clearLines(int $lines): void
	{
		if($this->environment->hasAnsiSupport())
		{
			for($i = 0; $i < $lines; $i++)
			{
				if($i > 0)
				{
					$this->write("\033[F");
				}

				$this->clearLine();
			}
		}
	}
public function clearLines(int $lines): void
	{
		if($this->environment->hasAnsiSupport())
		{
			for($i = 0; $i < $lines; $i++)
			{
				if($i > 0)
				{
					$this->write("\033[F");
				}

				$this->clearLine();
			}
		}
	}
public function clearLines ( int $ lines ) : void { if ( $ this -> environment -> hasAnsiSupport ( ) ) { for ( $ i = 0 ; $ i < $ lines ; $ i ++ ) { if ( $ i > 0 ) { $ this -> write ( "\033[F" ) ; } $ this -> clearLine ( ) ; } } }
Clears n lines.

@param int $lines Number of lines to clear
Clears n lines .