Fix cursor artifcats in termux

This commit is contained in:
Dylan Araps 2016-10-22 10:18:38 +11:00
parent fd957835b7
commit ad3a90219a
1 changed files with 1 additions and 1 deletions

View File

@ -2957,7 +2957,7 @@ dynamicprompt() {
# Set the prompt location
if [ "$lines" -lt 0 ]; then
printf "\033[${lines}A"
printf "\033[${lines/-}A"
else
printf "\033[${lines}B"
fi