rows property
int
get
rows
The height of the terminal in rows. Where a row is one character high. If no terminal is attached to stdout, a StdoutException is thrown. This value can change if the users resizes the console window.
Implementation
int get rows {
if (hasTerminal) {
return _console.windowHeight;
} else {
return 24;
}
}