mps_youtube.terminalsize module

Terminal Size.

mps_youtube.terminalsize.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