terminal_size
Last updated
Was this helpful?
Last updated
Was this helpful?
Query the size of the terminal window.
[r, c] = terminal_size()
[r, c] - a vector: rows and columns
terminal_size() returns a vector with size of the terminal window in characters (rows and columns).
.
1.0.0
initial version
Allan CORNET