nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 9d5ee166141db9f63df95df200f6c476721b0f0f
parent 01bbf7e82f895cc9f7ca4e61d861048d25a1c4c1
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Thu, 20 Oct 2016 21:18:17 +0200

tweaks: don't bother redrawing some lines when whole screen will be redrawn

Diffstat:
Msrc/winio.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/winio.c b/src/winio.c @@ -2901,6 +2901,7 @@ void edit_redraw(filestruct *old_current) openfile->current->lineno < openfile->edittop->lineno) { adjust_viewport((focusing || !ISSET(SMOOTH_SCROLL)) ? CENTERING : FLOWING); refresh_needed = TRUE; + return; } #ifndef NANO_TINY