diff options
author | Tom Tromey <tom@tromey.com> | 2023-12-17 13:22:10 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-06-11 09:21:18 -0600 |
commit | ce6b89bfdfd530551a6c00761aaf1e4bb204c2be (patch) | |
tree | 10b73a4f22c066bac660f35785aaddd92e7bea5f /gdb | |
parent | d4b508dd5c68a2a367e1e23d9c663d63ed2edd37 (diff) | |
download | gdb-ce6b89bfdfd530551a6c00761aaf1e4bb204c2be.zip gdb-ce6b89bfdfd530551a6c00761aaf1e4bb204c2be.tar.gz gdb-ce6b89bfdfd530551a6c00761aaf1e4bb204c2be.tar.bz2 |
Remove useless call to wnoutrefresh
This call to wnoutrefresh is not useful. It's based on the
misunderstanding that wnoutrefresh somehow prevents display, whereas
actually what it does is copy from one curses buffer to another.
I'm working on a larger patch to clean up this area, but this
particular call can be removed immediately without consequence.
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/tui/tui-wingeneral.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/tui/tui-wingeneral.c b/gdb/tui/tui-wingeneral.c index 1153047..d113d77 100644 --- a/gdb/tui/tui-wingeneral.c +++ b/gdb/tui/tui-wingeneral.c @@ -165,8 +165,6 @@ tui_win_info::make_window () handle.reset (newwin (height, width, y, x)); if (handle != NULL) { - if (suppress_output) - wnoutrefresh (handle.get ()); scrollok (handle.get (), TRUE); if (can_box ()) box_win (this, false); |