Expand description
Most of the code in for the terminal_size() function taken from:
https://github.com/eminence/terminal-size
A simple utility for getting the size of a terminal, and moving n lines up.
Supports both Linux and Windows, but help is needed to test other platforms
Structs§
Functions§
- move_
cursor_ up - Return string that move the cursor
nlines up. - terminal_
size - Returns the size of the terminal, if available.