Fix garbage in prompt

This commit is contained in:
Dylan Araps 2016-10-01 12:55:31 +10:00
parent b112ac9715
commit 2b7ff346db
1 changed files with 1 additions and 1 deletions

View File

@ -2789,7 +2789,7 @@ dynamicprompt() {
fi
# Set the prompt location
[ "$image" != "off" ] && printf "%b%s" "\033[${lines:-0}B"
[ "$image" != "off" ] && printf "\033[${lines/-*/0}B"
}
# }}}