This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH]: Fix tui refresh when entering TUI mode


Hi!

Committed this patch on 6_0 and mainline to fix refresh when entering TUI mode.

Stephane

2003-07-23 Stephane Carrez <stcarrez@nerim.fr>

	* tui.c (tui_enable): Call tuiRefreshAll to make sure the window
	is accurate.
Index: tui.c
===================================================================
RCS file: /cvs/src/src/gdb/tui/tui.c,v
retrieving revision 1.31
diff -u -p -r1.31 tui.c
--- tui.c	22 Jun 2003 15:21:38 -0000	1.31
+++ tui.c	23 Jul 2003 21:38:07 -0000
@@ -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 ();

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]