OSDN Git Service

* tui.c (tui_enable): Call tuiRefreshAll to make sure the window
authorciceron <ciceron>
Wed, 23 Jul 2003 21:40:59 +0000 (21:40 +0000)
committerciceron <ciceron>
Wed, 23 Jul 2003 21:40:59 +0000 (21:40 +0000)
is accurate.

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

index 6b4e01f..a6574ff 100644 (file)
@@ -1,5 +1,10 @@
 2003-07-23  Stephane Carrez  <stcarrez@nerim.fr>
 
+       * tui.c (tui_enable): Call tuiRefreshAll to make sure the window
+       is accurate.
+
+2003-07-23  Stephane Carrez  <stcarrez@nerim.fr>
+
        * tui-interp.c (tui_resume): Enable tui when we expected it.
        (tui_suspend): Remember in which TUI mode we are.
        (_initialize_tui_interp): Use the tui interpreter even when no
index 7e665d5..7efe658 100644 (file)
@@ -390,7 +390,7 @@ tui_enable (void)
 
   /* Restore TUI keymap.  */
   tui_set_key_mode (tui_current_key_mode);
-  refresh ();
+  tuiRefreshAll ();
 
   /* Update gdb's knowledge of its terminal.  */
   target_terminal_save_ours ();