general: Fixed extra trailing prompt newline

This commit is contained in:
dylan araps 2017-12-13 11:42:10 +11:00
parent c5c4f901ba
commit 9f263fe184

View file

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