From 49f63e224cc1438c92c77491c032fd01ce82fd7c Mon Sep 17 00:00:00 2001 From: romkatv Date: Fri, 8 Nov 2019 09:43:19 +0100 Subject: [PATCH] add more debug logging for #315 --- internal/p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 59867c11..0527df46 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -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