summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libcurses.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libcurses.tex')
-rw-r--r--Doc/lib/libcurses.tex9
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/lib/libcurses.tex b/Doc/lib/libcurses.tex
index be8df0c..192a8ca 100644
--- a/Doc/lib/libcurses.tex
+++ b/Doc/lib/libcurses.tex
@@ -1300,8 +1300,9 @@ as its first argument, followed by any other arguments passed to
\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.