about summary refs log tree commit diff
path: root/Src/Zle/zle_refresh.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-05-12 13:50:42 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-05-12 13:50:42 +0000
commitbd70d684fcf40ff1fba07ec69bd08e1ce40cbd2f (patch)
tree3392bb954086841c7351e06b45e82594342f4e31 /Src/Zle/zle_refresh.c
parent58580d31f593021e2ed4bfad8362e3b01bf396f3 (diff)
downloadzsh-bd70d684fcf40ff1fba07ec69bd08e1ce40cbd2f.tar.gz
zsh-bd70d684fcf40ff1fba07ec69bd08e1ce40cbd2f.tar.xz
zsh-bd70d684fcf40ff1fba07ec69bd08e1ce40cbd2f.zip
25002: only ZLE should update attributes resulting from prompt expansion
Diffstat (limited to 'Src/Zle/zle_refresh.c')
-rw-r--r--Src/Zle/zle_refresh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c
index dd8c26079..f43ad45e2 100644
--- a/Src/Zle/zle_refresh.c
+++ b/Src/Zle/zle_refresh.c
@@ -990,12 +990,13 @@ zrefresh(void)
     int tmppos;			/* t - tmpline				     */
     int tmpalloced;		/* flag to free tmpline when finished	     */
     int remetafy;		/* flag that zle line is metafied	     */
+    int txtchange;		/* attributes set after prompts */
     struct rparams rpms;
 #ifdef MULTIBYTE_SUPPORT
     int width;			/* width of wide character		     */
 #endif
 
-    
+
     /* If this is called from listmatches() (indirectly via trashzle()), and *
      * that was called from the end of zrefresh(), then we don't need to do  *
      * anything.  All this `inlist' code is actually unnecessary, but it     *