From 80b9fe0393f8ea42ad7a4382484f732e2b69d63c Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Wed, 23 Jul 2003 21:40:59 +0000 Subject: [PATCH] * tui.c (tui_enable): Call tuiRefreshAll to make sure the window is accurate. --- gdb/tui/ChangeLog | 5 +++++ gdb/tui/tui.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog index 6b4e01f4723..a6574ff69ae 100644 --- a/gdb/tui/ChangeLog +++ b/gdb/tui/ChangeLog @@ -1,3 +1,8 @@ +2003-07-23 Stephane Carrez + + * tui.c (tui_enable): Call tuiRefreshAll to make sure the window + is accurate. + 2003-07-23 Stephane Carrez * tui-interp.c (tui_resume): Enable tui when we expected it. diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 7e665d58a79..7efe6585450 100644 --- a/gdb/tui/tui.c +++ b/gdb/tui/tui.c @@ -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 (); -- 2.30.2