* tuiIO.c (tui_setup_io): rl_already_prompted must be cleared
authorStephane Carrez <stcarrez@nerim.fr>
Fri, 13 Sep 2002 19:47:21 +0000 (19:47 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Fri, 13 Sep 2002 19:47:21 +0000 (19:47 +0000)
when leaving TUI mode so that gdb prompt is displayed.

gdb/tui/ChangeLog
gdb/tui/tuiIO.c

index 246c1f80f7af48145bdbb7287731104a10791465..be718aeecfd582e678d4e31e9701109f8124d76d 100644 (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
index 58df5d5f89ad55a16e9136d1becbb35231d16b12..2e3d79f2f4bdfdd80367a07d0746ca2e21f13831 100644 (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 ();
This page took 0.032589 seconds and 4 git commands to generate.