nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] Window resize handling


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] Window resize handling
Date: Wed, 20 May 2015 21:51:03 +0200

Hi Mahyar,

On Wed, May 20, 2015, at 20:13, Mahyar Abbaspour wrote:
> I was able to workaround the floating point exception issue by adding
> a condition to the if in get_statusbar_page_start() in prompt.c.

Could you explain in words what that three-way condition is
testing for?  Or at least the one condition that you added?

> Attached is the patch that should fix the issue.

It does.  But... when the window gets still narrower, and the
two help lines are present, the replacement string will wrap
to the next line and overwrite the "^G Help" string.  This is
not nice.  But this is not really a problem of your sigwinch
patch.  I will keep any wrapping and exception fixes for the
statusbar and the titlebar separate from the sigwinch change.

Regards,

Benno

-- 
http://www.fastmail.com - Does exactly what it says on the tin




reply via email to

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