Commit 2b7ff346 authored by Dylan Araps's avatar Dylan Araps

Fix garbage in prompt

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