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).
terminal_size()
disp.
1.0.0
initial version
Last updated 3 months ago