summary refs log tree commit diff
path: root/Src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/utils.c')
-rw-r--r--Src/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c
index 8384de70e..cafcc7fbc 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -1064,7 +1064,8 @@ adjustwinsize(int from)
 	winchanged =
 #endif /* TIOCGWINSZ */
 	    resetneeded = 1;
-	trashzleptr();
+	zrefreshptr();
+	zle_resetpromptptr();
     }
 }