nano

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

commit cfa297622b1205d9a20649397f5881cbe51ea231
parent 0606c62542af936e4d60f54c6c4d5f1bca077332
Author: Chris Allegretta <chrisa@asty.org>
Date:   Wed, 28 May 2014 01:35:51 +0000

2014-05-27  Chris Allegretta <chrisa@asty.org>
        * src/winio.c (edit_refresh): wredrawln() is not supported under
          slang.



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4918 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 4++++
Msrc/winio.c | 2++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,7 @@ +2014-05-27 Chris Allegretta <chrisa@asty.org> + * src/winio.c (edit_refresh): wredrawln() is not supported under + slang. + 2014-05-27 Benno Schulenberg <bensberg@justemail.net> * src/global.c (shortcut_init): Improve the arrangement of help items under certain compilation conditions. diff --git a/src/winio.c b/src/winio.c @@ -2498,7 +2498,9 @@ void edit_draw(filestruct *fileptr, const char *converted, int /* Tell ncurses to really redraw the line without trying to optimize for what it thinks is already there, because it gets it wrong in the case of a wide character in column zero. See bug #31743. */ +#ifndef USE_SLANG wredrawln(edit, line, 1); +#endif #ifndef DISABLE_COLOR /* If color syntaxes are available and turned on, we need to display