Re: "next" into line longer than the source window-width (Re: [RFC 8.3 0/3] Some style fixes)

Eli Zaretskii
2019-03-17T16:05:28Z

> Cc: gdb-patches@sourceware.org
> From: Pedro Alves <palves@redhat.com>
> Date: Thu, 14 Mar 2019 20:25:25 +0000
>
> The substance of the patch LGTM.
>
> But all this code above looks very much like the new tui_refill_source_window
> function, added today by 6f11e6824e15. I think you can replace all
> the above with:
>
> - tui_refresh_win (&win_info->generic);
> + tui_refill_source_window (win_info);

You are right; I pushed the above to both branches.