general: Fix prompt on openBSD

This commit is contained in:
Dylan Araps 2017-12-25 19:27:57 +11:00
parent 5ffd5149b4
commit beee0203d0

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
}