This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]