helpers\BaseConsole moveCursorTo()

moveCursorTo() public static method

Moves the cursor to an absolute position given as column and row by sending ANSI control code CUP or CHA to the terminal.

public static void moveCursorTo ( $column, $row = null )
$column integer

1-based column number, 1 is the left edge of the screen.

$row integer|null

1-based row number, 1 is the top edge of the screen. if not set, will move cursor only in current line.

doc_Yii
2016-10-30 17:04:36
Comments
Leave a Comment

Please login to continue.