|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /usr/lib64/python2.4/curses/ |
Upload File : |
mò
‚=5Dc @ s% d Z d k Z d k Z d „ Z d S( s curses.wrapper
Contains one function, wrapper(), which runs another function which
should be the rest of your curses-based application. If the
application raises an exception, wrapper() will restore the terminal
to a sane state so you can read the resulting traceback.
Nc O s’ d } zY t i ƒ } t i ƒ t i ƒ | i d ƒ y t i ƒ Wn n X| | | | Ž SWd | i d ƒ t i ƒ t i
ƒ t i ƒ Xd S( s Wrapper function that initializes curses and calls another function,
restoring normal keyboard/screen behavior on error.
The callable object 'func' is then passed the main window 'stdscr'
as its first argument, followed by any other arguments passed to
wrapper().
i Ni ( t Nonet rest cursest initscrt stdscrt noechot cbreakt keypadt start_colort funct argst kwdst echot nocbreakt endwin( R R
R R R ( ( t&