summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-08-08 10:36:51 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-08-08 10:36:51 +0000
commitd7902f6badcc63cb76f3534cf542c4bd8889a18a (patch)
tree5f26c97c80e7d4badaa5d3735d6c8f4489970513
parenta6c11584cfef792eb5eb32c1fd481b81c641544f (diff)
downloadzsh-d7902f6badcc63cb76f3534cf542c4bd8889a18a.tar.gz
zsh-d7902f6badcc63cb76f3534cf542c4bd8889a18a.tar.xz
zsh-d7902f6badcc63cb76f3534cf542c4bd8889a18a.zip
21567: Dan Bullok: trashzle on updating window size
-rw-r--r--ChangeLog5
-rw-r--r--Src/utils.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ff37a0025..7386c87c2 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-08  Oliver Kiddle  <opk@zsh.org>
 
 	* 21570: Completion/Unix/Command/_subversion: complete for the
diff --git a/Src/utils.c b/Src/utils.c
index fad00cf93..8384de70e 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -1064,7 +1064,7 @@ adjustwinsize(int from)
 	winchanged =
 #endif /* TIOCGWINSZ */
 	    resetneeded = 1;
-	zrefreshptr();
+	trashzleptr();
     }
 }