mirror of git://git.code.sf.net/p/zsh/code
38001: clear-screen re-expands prompts
This commit is contained in:
parent
b7b3ae311d
commit
c3f4d18e4f
|
@ -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>
|
||||
|
|
|
@ -2424,6 +2424,7 @@ clearscreen(UNUSED(char **args))
|
|||
tcoutclear(TCCLEARSCREEN);
|
||||
resetneeded = 1;
|
||||
clearflag = 0;
|
||||
reexpandprompt();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue