1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00

Mikael: 28356: don't increment old display line too far when refreshing

This commit is contained in:
Peter Stephenson 2010-10-17 17:59:27 +00:00
parent 3ead38d8eb
commit 467cd12e13
2 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2010-10-17 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Mikael: 28356: Src/Zle/zle_refresh.c: don't increment old
display line past NULL.
* c.f. 28353: Doc/Zsh/metafaq.yo: removing remaining reference
to sunsite in FTP sites.
@ -13760,5 +13763,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5107 $
* $Revision: 1.5108 $
*****************************************************

View file

@ -2089,7 +2089,9 @@ refreshline(int ln)
* We check for WEOF inside.
*/
zputc(nl);
nl++, ol++;
nl++;
if (ol->chr)
ol++;
ccs++, vcs++;
#ifdef MULTIBYTE_SUPPORT
/*