Make sure rl_instream defaults to NULL and add rl_outstream.

This commit is contained in:
Joachim Nilsson
2010-08-05 02:00:35 +02:00
parent 5de90af58f
commit 27fcc878a1
2 changed files with 5 additions and 2 deletions

View File

@@ -47,6 +47,8 @@ extern int rl_mark;
extern int rl_end;
extern char *rl_line_buffer;
extern const char *rl_readline_name;
extern FILE *rl_instream; /* The stdio stream from which input is read. Defaults to stdin if NULL - Not supported yet! */
extern FILE *rl_outstream; /* The stdio stream to which output is flushed. Defaults to stdout if NULL - Not supported yet! */
extern int el_no_echo; /* e.g under emacs, don't echo except prompt */
extern int el_hist_size; /* size of history scrollback buffer, default: 15 */