1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-12 00:00:07 +00:00

add more debug logging for #315

This commit is contained in:
romkatv 2019-11-08 09:43:19 +01:00
parent 517db99244
commit 49f63e224c

View file

@ -3980,7 +3980,7 @@ function _p9k_clear_instant_prompt() {
fi
cat $__p9k_instant_prompt_output
echo -nE - $sp
if [[ $POWERLEVEL9K_DEBUG_ISSUE_315 == true ]]; then
if [[ -n ${(S)content//$'\e'*$'\a'} && $POWERLEVEL9K_DEBUG_ISSUE_315 == true ]]; then
typeset content
ls -l $__p9k_instant_prompt_output
(( $+commands[hexdump] )) && hexdump -c $__p9k_instant_prompt_output