Don't call refresh in tui_resize_all
authorTom Tromey <tom@tromey.com>
Thu, 25 Jul 2019 03:05:10 +0000 (21:05 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 20 Sep 2019 19:49:09 +0000 (13:49 -0600)
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.

gdb/ChangeLog
gdb/tui/tui-win.c

index 9bc6f263f460ba384b3f5d02aff3fe57f6ee50f2..35584db07fd7d1194731523b9f02d4801133a891 100644 (file)
@@ -1,3 +1,7 @@
+2019-09-20  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-win.c (tui_resize_all): Don't call refresh.
+
 2019-09-20  Tom Tromey  <tom@tromey.com>
 
        * tui/tui-win.c (tui_resize_all, tui_adjust_win_heights): Use 1 as
index 77044738ef6c6c02840e74693d7296fc088fd7ed..8963da2b485469eb5e28995fd85d9d590995aef0 100644 (file)
@@ -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:
This page took 0.030664 seconds and 4 git commands to generate.