* tuiIO.c (tui_setup_io): rl_already_prompted must be cleared

when leaving TUI mode so that gdb prompt is displayed.
This commit is contained in:
Stephane Carrez 2002-09-13 19:47:21 +00:00
parent a42a37b725
commit bd9b0abf4e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-09-13 Stephane Carrez <stcarrez@nerim.fr>
* tuiIO.c (tui_setup_io): rl_already_prompted must be cleared
when leaving TUI mode so that gdb prompt is displayed.
2002-09-13 Stephane Carrez <stcarrez@nerim.fr>
* tuiStack.c (tui_make_status_line): Make sure the local buffer

View File

@ -532,7 +532,7 @@ tui_setup_io (int mode)
rl_outstream = tui_old_rl_outstream;
rl_completion_display_matches_hook = 0;
readline_echoing_p = tui_old_readline_echoing_p;
rl_already_prompted = 1;
rl_already_prompted = 0;
/* Save tty for SIGCONT. */
savetty ();