diff options
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/zle_refresh.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index e0f142198..33a46a2f3 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -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 /* |