mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-26 00:41:57 +00:00
detect \e*\e\ escape sequences in addition to \e*\a; fixes #315
This commit is contained in:
parent
3d6a899338
commit
1ab91283dc
1 changed files with 1 additions and 1 deletions
|
@ -3965,7 +3965,7 @@ function _p9k_clear_instant_prompt() {
|
||||||
local cr=$'\r'
|
local cr=$'\r'
|
||||||
local sp="${(%):-%b%k%f%s%u$mark${(pl.$fill.. .)}$cr%b%k%f%s%u%E}"
|
local sp="${(%):-%b%k%f%s%u$mark${(pl.$fill.. .)}$cr%b%k%f%s%u%E}"
|
||||||
print -rn -- $terminfo[rc]${(%):-%b%k%f%s%u}$terminfo[ed]
|
print -rn -- $terminfo[rc]${(%):-%b%k%f%s%u}$terminfo[ed]
|
||||||
if [[ -n ${(S)content//$'\e'*$'\a'} ]]; then
|
if [[ -n ${(S)content//$'\e'*($'\a'|$'\e\\')} ]]; then
|
||||||
echo -E - ""
|
echo -E - ""
|
||||||
echo -E - "${(%):-[%3FWARNING%f]: Console output during zsh initialization detected.}"
|
echo -E - "${(%):-[%3FWARNING%f]: Console output during zsh initialization detected.}"
|
||||||
echo -E - ""
|
echo -E - ""
|
||||||
|
|
Loading…
Reference in a new issue