From: Tom Tromey Date: Thu, 25 Jul 2019 03:05:10 +0000 (-0600) Subject: Don't call refresh in tui_resize_all X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0891be0835883fc1159565b780d63954e6b09bd9;p=binutils-gdb.git 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 * tui/tui-win.c (tui_resize_all): Don't call refresh. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9bc6f263f46..35584db07fd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2019-09-20 Tom Tromey + + * tui/tui-win.c (tui_resize_all): Don't call refresh. + 2019-09-20 Tom Tromey * tui/tui-win.c (tui_resize_all, tui_adjust_win_heights): Use 1 as diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c index 77044738ef6..8963da2b485 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: