Does all of the low level setting up of a virtual console so you don't have to.
To use it, your main function should look something like this:
using EV3devKit;
static int main (string[] args) {
try {
ConsoleApp.init ();
// Program-specific initialization which includes something
// that calls ConsoleApp.quit () when the program is finished.
ConsoleApp.run ();
// any additional cleanup if needed before application exits.
return 0;
} catch (ConsoleAppError err) {
critical ("%s", err.message);
}
return 1;
}