winconsole

Module: winconsole

Set of functions to work with console on Windows.

IPython.winconsole.get_console_size(defaultx=80, defaulty=25)

Return size of current console.

This function try to determine actual size of current working console window and return tuple (sizex, sizey) if success, or default size (defaultx, defaulty) otherwise.

Dependencies: ctypes should be installed.