Fix cursor artifacts in termux

This commit is contained in:
Dylan Araps 2016-10-22 10:20:14 +11:00
parent 79392d75a9
commit 92595e8bc6
1 changed files with 1 additions and 1 deletions

View File

@ -2929,7 +2929,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