Terminal
The Terminal class provides static functions to interact with the terminal's input/output.
Static Functions
Sends a string value to the terminal appended with ending.
Terminal's print "hello world"Allows special escape characters.
Terminal's print "\x1b[31mthis is red\x1b[0m"Sends a prompt onto the terminal and returns the user's input as a string.
let name be Terminal's ask "Please enter your name: "
print "hello {name}"Sends a prompt onto the terminal and pauses execution until the user presses Enter.
Terminal's pause "Press enter to continue..."print "hello world"