about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/utils.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cf8c21786..06504f6b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-08  Peter Stephenson  <pws@csr.com>
+
+	* 21567: Dan Bullok: Src/utils.c: trash zle when updating window
+	size since otherwise multiline prompts get screwed up.
+
 2005-08-04  Wayne Davison  <wayned@users.sourceforge.net>
 
 	* unposted: Completion/Unix/Command/_rsync: brought over the
diff --git a/Src/utils.c b/Src/utils.c
index aa165b7f5..ae3b3be7c 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -1054,7 +1054,7 @@ adjustwinsize(int from)
 	winchanged =
 #endif /* TIOCGWINSZ */
 	    resetneeded = 1;
-	zrefresh();
+	trashzle();
     }
 }