aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui.c')
-rw-r--r--gdb/tui/tui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c
index 33232a5..8ead02f 100644
--- a/gdb/tui/tui.c
+++ b/gdb/tui/tui.c
@@ -262,6 +262,7 @@ tui_enable (void)
tui_version = 1;
tui_active = 1;
refresh ();
+ tui_update_gdb_sizes ();
}
/* Leave the tui mode.
@@ -286,6 +287,7 @@ tui_disable (void)
tui_version = 0;
tui_active = 0;
+ tui_update_gdb_sizes ();
}
/* Wrapper on top of free() to ensure that input address