From ce6b89bfdfd530551a6c00761aaf1e4bb204c2be Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 17 Dec 2023 13:22:10 -0700 Subject: 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 --- gdb/tui/tui-wingeneral.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/tui') 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); -- cgit v1.1