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 75da73efb..b43bfc028 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -333,7 +333,7 @@ zrefresh(void) tsetcap(TCUNDERLINEEND, 0); if (!clearflag) { - if (tccan(TCCLEAREOD)) + if (tccan(TCCLEAREOD) && isset(ALWAYSLASTPROMPT)) tcout(TCCLEAREOD); else cleareol = 1; /* request: clear to end of line */ |