typedargs.terminal module¶
Code to determine terminal size on mac, windows and linux.
Adapted from https://gist.github.com/jtriley/1108174
Summary¶
Functions:
get_terminal_size |
getTerminalSize() - get width and height of console - works on linux,os x,windows,cygwin(windows) originally retrieved from: http://stackoverflow.com/questions/566746/how-to-get-console-window-width-in-python |
Reference¶
-
typedargs.terminal.
get_terminal_size
()[source]¶ getTerminalSize() - get width and height of console - works on linux,os x,windows,cygwin(windows) originally retrieved from: http://stackoverflow.com/questions/566746/how-to-get-console-window-width-in-python