pyrocko.get_terminal_size¶
Cross platform get terminal size utilities.
Functions
Get terminal size. |
- get_terminal_size()[source]¶
Get terminal size.
Works on linux,os x,windows,cygwin(windows)
originally retrieved from: http://stackoverflow.com/questions/566746/how-to-get-console-window-width-in-python