aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-07-24 21:05:10 -0600
committerTom Tromey <tom@tromey.com>2019-09-20 13:49:09 -0600
commit0891be0835883fc1159565b780d63954e6b09bd9 (patch)
treed749ef039ca731182624f797428613a5f46fe0b8 /gdb/tui
parent1b935acf7ecc2df4649b7d34b7ac467eac07221b (diff)
downloadgdb-0891be0835883fc1159565b780d63954e6b09bd9.zip
gdb-0891be0835883fc1159565b780d63954e6b09bd9.tar.gz
gdb-0891be0835883fc1159565b780d63954e6b09bd9.tar.bz2
Don't call refresh in tui_resize_all
There's no reason to call refresh in tui_resize_all. This call flushes the curses window contents to the terminal -- but, because we're about the resize all the windows, we're going to be sending more data to the terminal momentarily. This patch removes the call. gdb/ChangeLog 2019-09-20 Tom Tromey <tom@tromey.com> * tui/tui-win.c (tui_resize_all): Don't call refresh.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-win.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c
index 7704473..8963da2 100644
--- a/gdb/tui/tui-win.c
+++ b/gdb/tui/tui-win.c
@@ -561,7 +561,6 @@ tui_resize_all (void)
AIX 5.3 does not define clear. */
erase ();
clearok (curscr, TRUE);
- refresh ();
switch (cur_layout)
{
case SRC_COMMAND: