diff Doc/lib/libcurses.tex @ 13909:b347fc5daeb7 legacy-trunk

Tweak curses.wrapper so it initializes colors if they are available.
author Eric S. Raymond <esr@thyrsus.com>
date Wed, 09 Aug 2000 21:11:07 +0000
parents a0b36598b31d
children a4259bfca5bf
line wrap: on
line diff
--- a/Doc/lib/libcurses.tex	Wed Aug 09 19:37:16 2000 +0000
+++ b/Doc/lib/libcurses.tex	Wed Aug 09 21:11:07 2000 +0000
@@ -1300,8 +1300,9 @@
 \function{wrapper()}.
 \end{funcdesc}
 
-Before calling the hook function, \function{wrapper()} turns on
-cbreak mode, turns off echo, and enables the terminal keypad.  On
-exit (whether normally or by exception) it restores cooked mode, 
-turns on echo, and disables the terminal keypad.
+Before calling the hook function, \function{wrapper()} turns on cbreak
+mode, turns off echo, enables the terminal keypad, and initializes
+colors if the terminal has color support.  On exit (whether normally
+or by exception) it restores cooked mode, turns on echo, and disables
+the terminal keypad.