Terminal TAST
Basic
TAST is a plain JSON that consists of three kinds components: Arrays, Strings, and Objects. Numbers, booleans, or null are not allowed.
All TAST begins with an array. This array contains strings and objects. Strings are final; they are just plain text to show in the terminal. Objects may have or not children; if they have children, it is a new array that follows the previous rules. If an Object does not have children, it is final.
Hello world
The most simple example is a string inside an array. The terminal renders the content of the string.
Splitting strings
You can split the string inside the array as many times as you want. The terminal concatenates all strings and shows them. The following example is equivalent to the previous one.
Explicit line breaks
Add the new line character '\n' to start a new line. It commands the terminal to continue writing characters in the next line.
Implicit line breaks
Line length is finite. The terminal configuration includes a number maximum of columns (see getTerminalDimensions). Once the text exceeds the number maximum of columns, it wraps the text automatically to the next line.

tast.json
[
" 1 2 3 4 5 6\n",
"1234567890123456789012345678901234567890123456789012345678901234567890EXCEDENT"
]
package.json
{
"name": "example",
"version": "1.0.0",
"orion": {
"dispatchersHelper": {
"actionCreators": {
"consumes": {
"@orion/terminals": [
"createTerminal",
"spliceTerminalTAST"
]
}
}
}
}
}