Fix cursor artifacts in termux

This commit is contained in:
Dylan Araps 2016-10-22 10:20:14 +11:00
parent 79392d75a9
commit 92595e8bc6

View file

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