xen::io
Provides utilities for input and output.
include io;
Public Functions
print (value: any, ...) -> null
Prints text to the console.
println
println (value: any, ...) -> null
Prints text to the console, adding a newline at the end.
input
input (prefix: string) -> string | null
Receives input from the console, submitted when the enter key is pressed.
clear
clear () -> null
Clears the console screen.
pause
pause () -> null
Waits for the user the press the enter key.