mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 11:04:18 +08:00
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.
This commit is contained in:
parent
1b935acf7e
commit
0891be0835
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user