diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-10-28 11:47:14 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-10-28 11:47:14 +0300 |
commit | a55955c5cfb360c6088fd0141c6157533f3e1481 (patch) | |
tree | 2a576276b8ec05ff60ef07c11f88ccbf36024c56 /internal/p10k.zsh | |
parent | dce00cdb5daaa8a519df234a7012ba3257b644d4 (diff) |
enable bracketed paste when printing instant prompt
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r-- | internal/p10k.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 6df571f0..90191b95 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -5933,7 +5933,7 @@ _p9k_set_instant_prompt() { [[ -n $RPROMPT ]] || unset RPROMPT } -typeset -gri __p9k_instant_prompt_version=44 +typeset -gri __p9k_instant_prompt_version=45 _p9k_dump_instant_prompt() { local user=${(%):-%n} @@ -6236,7 +6236,7 @@ _p9k_dump_instant_prompt() { fi typeset -g __p9k_instant_prompt_output=${TMPDIR:-/tmp}/p10k-instant-prompt-output-${(%):-%n}-$$ { echo -n > $__p9k_instant_prompt_output } || return - print -rn -- "$out" || return + print -rn -- "${out}${esc}?2004h" || return if (( $+commands[stty] )); then command stty -icanon 2>/dev/null fi |