Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
AydinHassan committed Oct 27, 2016
1 parent 4382dbd commit e9b166b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Frame.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function addRows(array $rows = [])
}

/**
* @param $row
* @param string $row
*/
public function addRow($row)
{
Expand Down
5 changes: 5 additions & 0 deletions src/Terminal/UnixTerminal.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ public function moveCursorToRow($rowNumber)
echo sprintf("\033[%d;0H", $rowNumber);
}

/**
* Move the cursor to the start of a specific column
*
* @param int $column
*/
public function moveCursorToColumn($column)
{
echo sprintf("\033[%dC", $column);
Expand Down

0 comments on commit e9b166b

Please sign in to comment.