general: Fix prompt on openBSD

This commit is contained in:
Dylan Araps 2017-12-25 19:27:57 +11:00
parent 5ffd5149b4
commit beee0203d0
1 changed files with 1 additions and 1 deletions

View File

@ -4135,7 +4135,7 @@ dynamic_prompt() {
if ((lines > 1)) && [[ "$kernel_name" != "OpenBSD" ]]; then
printf "%b" "\\e[${lines}B"
else
tput cub "$lines"
tput cud "$lines"
fi
}