[IPython-dev] [PATCH] Further improvements of paging system (Windows-specific)

Alexander Belchenko bialix at ukr.net
Tue Oct 11 16:30:32 CDT 2005


  Another improvements of paging system (on Windows):
  - function get_console_size for Windows console
    returns size of current console as (sizex,sizey)
  - with function get_console_size() page_dumb can fit
    each page exactly on one full screen.

Added module winconsole.py with special function get_console_size(). 
This module needed only for Windows. Function get_console_size works 
only if ctypes installed. Otherwise it returns default values for size 
of console (80, 25).

In addition with my previous patch to page_dumb it makes dumb pager is 
not so dumb ;-)

Alexander.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: winconsole.diff
Url: http://projects.scipy.org/pipermail/ipython-dev/attachments/20051012/aab88f0b/attachment.pl 


More information about the IPython-dev mailing list