[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] display: first attempt at making --nohelp effec
Re: [Nano-devel] [PATCH] display: first attempt at making --nohelp effective only in main menu
Fri, 24 Aug 2018 07:35:18 -0600
On Thu, 23 Aug 2018 20:40:53 +0200
Benno Schulenberg <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.
> + 1 : (LINES < 5) ? 1 : 3);
Line 64 in your patch has a space between tabs in the indent.
Description: Text Data