nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [PATCH] display: first attempt at making --nohelp effec


From: Brand Huntsman
Subject: Re: [Nano-devel] [PATCH] display: first attempt at making --nohelp effective only in main menu
Date: Fri, 24 Aug 2018 15:31:42 -0600

On Fri, 24 Aug 2018 07:35:18 -0600
Brand Huntsman <address@hidden> wrote:

> > A major problem is that when cancelling a search (for example), then
> > the "Cancelled" message gets written while the two help lines are
> > still there, but then the edit window gets rewritten without those
> > two lines, meaning that the status bar and the message get plastered
> > over.  :| I don't know how to fix that.  
> 
> The attached patch works for that case and might work for all. If it
> works, you can clean it up and merge into yours. But it might also
> need to copy&free the saved message, because some messages might be
> allocated and freed by caller.

And maybe have statusline() always set last_msg to null if MMAIN, to avoid 
copying messages that happen in editor.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]