clear static method
void
clear()
Clears the console.
Implementation
static void clear() {
if (stdout.hasTerminal) {
stdout.write('\x1B[2J\x1B[0;0H');
}
}
Clears the console.
static void clear() {
if (stdout.hasTerminal) {
stdout.write('\x1B[2J\x1B[0;0H');
}
}