38001: clear-screen re-expands prompts

This commit is contained in:
Barton E. Schaefer 2016-02-16 18:20:28 -08:00
parent b7b3ae311d
commit c3f4d18e4f
2 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,8 @@
2016-02-16 Barton E. Schaefer <schaefer@zsh.org>
* 38001: Src/Zle/zle_refresh.c: clear-screen re-expands prompts
* 37988: Src/params.c: $0 becomes read-only under POSIXARGZERO
2016-02-15 Eric Cook <llua@gmx.com>

View File

@ -2424,6 +2424,7 @@ clearscreen(UNUSED(char **args))
tcoutclear(TCCLEARSCREEN);
resetneeded = 1;
clearflag = 0;
reexpandprompt();
return 0;
}