diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/zle_refresh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index 7b4178ee8..0029b088c 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -698,7 +698,7 @@ refreshline(int ln) which need to be written. do this now to allow some pre-processing */ if (cleareol /* request to clear to end of line */ - || !nllen /* no line buffer given */ + || (!nllen && (ln != 0 || !put_rpmpt)) /* no line buffer given */ || (ln == 0 && (put_rpmpt != oput_rpmpt))) { /* prompt changed */ p1 = zhalloc(winw + 2); if (nllen) |