Refactor tty_info() to make rl_reset_terminal() useful.

This commit is contained in:
Joachim Nilsson
2010-08-05 15:14:06 +02:00
parent de6ff117bb
commit 1c89c9886c
3 changed files with 60 additions and 52 deletions

View File

@@ -61,7 +61,7 @@ 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 */
extern void rl_initialize(void);
extern void rl_reset_terminal(char *p);
extern void rl_reset_terminal(const char *terminal_name);
extern char *readline(const char *prompt);
extern void add_history(const char *line);