Commit ad3a9021 authored by Dylan Araps's avatar Dylan Araps

Fix cursor artifcats in termux

parent fd957835
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment