Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/curses/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/curses/wrapper.pyo |
³ò h”Rc @ s+ d Z d d k Z d 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. iÿÿÿÿ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 cursest initscrt noechot cbreakt keypadt start_colort echot nocbreakt endwin( t funct argst kwdst rest stdscr( ( s* /usr/local/lib/python2.5/curses/wrapper.pyt wrapper s ( t __doc__t sysR R ( ( ( s* /usr/local/lib/python2.5/curses/wrapper.pys <module> s