From: Eric S. R. <es...@us...> - 2001-01-16 12:52:35
|
Update of /cvsroot/py-howto/pyhowto In directory usw-pr-cvs1:/tmp/cvs-serv4106 Modified Files: curses.tex Log Message: Thinko fixes. Index: curses.tex =================================================================== RCS file: /cvsroot/py-howto/pyhowto/curses.tex,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** curses.tex 2000/11/29 03:32:13 1.9 --- curses.tex 2001/01/16 12:52:30 1.10 *************** *** 144,148 **** support is present. It then runs your hook, and then finally deinitializes appropriately. The hook is called inside a try-catch ! hook which catches exceptions, performs curses deinitialization, and then passes the exception upwards. Thus, your terminal won't be left in a funny state on exception. --- 144,148 ---- support is present. It then runs your hook, and then finally deinitializes appropriately. The hook is called inside a try-catch ! clause which catches exceptions, performs curses deinitialization, and then passes the exception upwards. Thus, your terminal won't be left in a funny state on exception. *************** *** 329,336 **** automatically). Once that's done, the \function{has_colors()} function returns TRUE if the terminal in use can actually display ! colour. (Note that curses uses the American spelling 'color', instead ! of the Canadian/British spelling 'colour'; if you're like me, you'll ! have to resign yourself to misspelling it for the sake of these ! functions.) The curses library maintains a finite number of colour pairs, --- 329,336 ---- automatically). Once that's done, the \function{has_colors()} function returns TRUE if the terminal in use can actually display ! colour. (Note from amk: that curses uses the American spelling ! 'color', instead of the Canadian/British spelling 'colour'; if you're ! like me, you'll have to resign yourself to misspelling it for the sake ! of these functions.) The curses library maintains a finite number of colour pairs, |