moveCursorToColumn() public method

Move the cursor to a specific column
public moveCursorToColumn ( integer $columnNumber )
$columnNumber integer
Ejemplo n.º 1
0
 /**
  * Write some text at a particular column
  *
  * @param int $column
  * @param string $text
  */
 protected function write($text, $column = null)
 {
     $this->terminal->moveCursorToColumn($column ?: $this->x);
     echo $text;
 }