about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2005-05-23 15:52:49 +0000
committerBart Schaefer <barts@users.sourceforge.net>2005-05-23 15:52:49 +0000
commitbee423bc9f8c0014ddc8c390c8de3c5df7d49761 (patch)
treed4e42cb156578e4140ee3c168f3a6eac88a95b97 /Functions
parent3acf90f67e8f94ec501af9973f05721e492e433b (diff)
downloadzsh-bee423bc9f8c0014ddc8c390c8de3c5df7d49761.tar.gz
zsh-bee423bc9f8c0014ddc8c390c8de3c5df7d49761.tar.xz
zsh-bee423bc9f8c0014ddc8c390c8de3c5df7d49761.zip
Tweak promptcr handling in "bart" prompt theme
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Prompts/prompt_bart_setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Prompts/prompt_bart_setup b/Functions/Prompts/prompt_bart_setup
index 0826d1872..b1a90e51c 100644
--- a/Functions/Prompts/prompt_bart_setup
+++ b/Functions/Prompts/prompt_bart_setup
@@ -81,7 +81,7 @@ prompt_bart_precmd () {
     # Reset the truncation widths for upcoming computations
     ((PSCOL == 1)) || { PSCOL=1 ; prompt_bart_ps1 }
     if [[ -o promptcr ]]
-    then print -nP "${(l.COLUMNS.. .)}\e[s${(pl.COLUMNS..\b.)}%E\e[u"
+    then print -nPu 2 "${(l.COLUMNS.. .)}\e[s${(pl.COLUMNS..\b.)}%E\e[u"
     else IFS='[;' read -s -d R escape\?$'\e[6n' lineno PSCOL
     fi
     ((PSCOL == 1)) || prompt_bart_ps1