new Terminal2(p_terminal_id, p_init)
Parameters:
| Name | Type | Description |
|---|---|---|
p_terminal_id |
String | The identifier of the canvas element where the lines are to be printed. |
p_init |
JSON | A JSON object that contains initial values for the terminal (i.e. canvas), scrollbar, and the (keyboard) controller. |
- Source:
Methods
-
down()
-
Moves content of the terminal one line down (if possible).
- Source:
-
println(arguments)
-
Prints a line on the terminal.
Parameters:
Name Type Description argumentsString[] The strings to be printed. - Source:
-
up()
-
Moves content of the terminal one line up (if possible).
- Source: