summaryrefslogtreecommitdiff
path: root/Src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/utils.c')
-rw-r--r--Src/utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/utils.c b/Src/utils.c
index ae0d43876..ec2df7cd0 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -108,7 +108,7 @@ static void
zwarning(const char *cmd, const char *fmt, va_list ap)
{
if (isatty(2))
- trashzleptr();
+ zleentry(ZLE_CMD_TRASH);
if (cmd) {
if (unset(SHINSTDIN) || locallevel) {
@@ -1573,8 +1573,8 @@ adjustwinsize(int from)
winchanged =
#endif /* TIOCGWINSZ */
resetneeded = 1;
- zrefreshptr();
- zle_resetpromptptr();
+ zleentry(ZLE_CMD_REFRESH);
+ zleentry(ZLE_CMD_RESET_PROMPT);
}
}