[PATCH 4/4] Prevent flickering when redrawing the TUI source window

Christian Biesinger cbiesinger@google.com
Tue Jan 5 11:57:09 GMT 2021


On Mon, Dec 21, 2020 at 3:24 PM Hannes Domani via Gdb-patches
<gdb-patches@sourceware.org> wrote:
>  tui_source_window_base::refresh_window ()
>  {
> -  tui_win_info::refresh_window ();
> +  wnoutrefresh (handle.get ());

Maybe it would be good to add a comment saying why you're calling
wnoutrefresh instead of the superclass? Or is this obvious anyway to
someone knowing ncurses?

Christian


More information about the Gdb-patches mailing list