summaryrefslogtreecommitdiff
path: root/callback.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-11-23 18:47:16 -0500
committerChet Ramey <chet.ramey@case.edu>2011-11-23 18:47:16 -0500
commitdb4c00d880b67af735af9b18835ae900f5be9e53 (patch)
tree8dfe99254425c933b2b9024e06faa506f3640359 /callback.c
parentfe34a312c8be645944828402351bd1192972586b (diff)
downloadreadline-db4c00d880b67af735af9b18835ae900f5be9e53.tar.gz
Readline-2.2 import
Diffstat (limited to 'callback.c')
-rw-r--r--callback.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/callback.c b/callback.c
index 04c5bbd..34dbc72 100644
--- a/callback.c
+++ b/callback.c
@@ -55,10 +55,10 @@ extern int rl_visible_prompt_length;
things to handle at once, and dispatches them via select(). Call
rl_callback_handler_install() with the prompt and a function to call
whenever a complete line of input is ready. The user must then
- call readline_char() every time some input is available, and
- readline_char() will call the user's function with the complete text
- read in at each end of line. The terminal is kept prepped and signals
- handled all the time, except during calls to the user's function. */
+ call rl_callback_read_char() every time some input is available, and
+ rl_callback_read_char() will call the user's function with the complete
+ text read in at each end of line. The terminal is kept prepped and
+ signals handled all the time, except during calls to the user's function. */
VFunction *rl_linefunc; /* user callback function */
static int in_handler; /* terminal_prepped and signals set? */