Commit 9f263fe1 authored by dylan araps's avatar dylan araps

general: Fixed extra trailing prompt newline

parent c5c4f901
......@@ -4098,7 +4098,7 @@ dynamic_prompt() {
fi
# Set the prompt location.
((lines > 0)) && printf "%b" "\033[${lines}B"
((lines > 1)) && printf "%b" "\033[${lines}B"
}
old_functions() {
......
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