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
1 changed files with 1 additions and 1 deletions

View File

@ -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() {