Method |
Description |
|
__construct ( ) |
Initialise the terminal from resource |
|
clean ( ) |
Clean the whole console without jumping the window |
|
clear ( ) |
Clear the terminal window |
|
clearLine ( ) : void |
Clear the current cursors line |
|
disableCursor ( ) |
Disable cursor |
|
enableCursor ( ) |
Enable cursor |
|
getDetails ( ) : string |
Get terminal details |
|
getHeight ( ) : integer |
Get the available height of the terminal |
|
getKeyedInput ( ) : string |
|
|
getWidth ( ) : integer |
Get the available width of the terminal |
|
isCanonical ( ) : boolean |
Check if TTY is in canonical mode
Assumes the terminal was never in canonical mode |
|
isTTY ( ) : boolean |
Test whether terminal is valid TTY |
|
moveCursorToColumn ( integer $column ) |
Move the cursor to the start of a specific column |
|
moveCursorToRow ( integer $rowNumber ) |
Move the cursor to the start of a specific row |
|
moveCursorToTop ( ) : void |
Move the cursor to the top left of the window |
|
setCanonicalMode ( boolean $useCanonicalMode = true ) |
Toggle canonical mode on TTY |
|
supportsColour ( ) : boolean |
Test whether terminal supports colour output |
|