From bee423bc9f8c0014ddc8c390c8de3c5df7d49761 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Mon, 23 May 2005 15:52:49 +0000 Subject: Tweak promptcr handling in "bart" prompt theme --- Functions/Prompts/prompt_bart_setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions/Prompts') 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 -- cgit 1.4.1