diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-07-22 19:54:29 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-07-22 19:54:29 +0000 |
commit | 38e0badcc3c9b1aaf0e518c736c8ec646217fab3 (patch) | |
tree | d93f103488ae6359fd0f7c19124986bd1215ad21 | |
parent | 5b29fedad850299950195a1878fe4923778f9dcc (diff) | |
download | zsh-38e0badcc3c9b1aaf0e518c736c8ec646217fab3.tar.gz zsh-38e0badcc3c9b1aaf0e518c736c8ec646217fab3.tar.xz zsh-38e0badcc3c9b1aaf0e518c736c8ec646217fab3.zip |
25236: don't recalculate prompt if not redisplaying
-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 f43ad45e2..d48ff8b42 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -1118,7 +1118,7 @@ zrefresh(void) /* cheat on attribute unset */ txtunset(TXTBOLDFACE|TXTSTANDOUT|TXTUNDERLINE); - if (trashedzle) + if (trashedzle && !clearflag) reexpandprompt(); resetvideo(); resetneeded = 0; /* unset */ |