diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2002-08-24 16:43:08 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2002-08-24 16:43:08 +0000 |
commit | 3e752b0491df868a89f370a136a0edb94c5081f5 (patch) | |
tree | 9a0751f17bcf9158492e9a5a9bcbca6ddff74397 /gdb/tui/tui.c | |
parent | c7037be10d946a1e11e3e30d7fc82656fa17aa93 (diff) | |
download | binutils-3e752b0491df868a89f370a136a0edb94c5081f5.zip binutils-3e752b0491df868a89f370a136a0edb94c5081f5.tar.gz binutils-3e752b0491df868a89f370a136a0edb94c5081f5.tar.bz2 |
* tuiWin.c (tui_update_gdb_sizes): New function to tell gdb what
is the size of command window.
(tuiResizeAll): Call it instead of init_page_info.
* tui.c (tui_enable): Call it to resize to TUI command window.
(tui_disable): Likewise for plain screen.
Diffstat (limited to 'gdb/tui/tui.c')
-rw-r--r-- | gdb/tui/tui.c | 2 |
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 |