Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/curses/wrapper.pyo

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


��Qc@sdZddlZd�ZdS(scurses.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�NcOs�zYtj�}tj�tj�|jd�ytj�WnnX||||�SWddt�kr�|jd�tj�tj�tj	�nXdS(sWrapper 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().
    iNtstdscri(
tcursestinitscrtnoechotcbreaktkeypadtstart_colortlocalstechotnocbreaktendwin(tfunctargstkwdsR((s$/sys/lib/python2.7/curses/wrapper.pytwrappers





(t__doc__RR(((s$/sys/lib/python2.7/curses/wrapper.pyt<module>s

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].