mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-18 09:57:13 +00:00
general: Fix prompt on openBSD
This commit is contained in:
6
neofetch
6
neofetch
@@ -4132,7 +4132,11 @@ dynamic_prompt() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Set the prompt location.
|
# Set the prompt location.
|
||||||
((lines > 1)) && printf "%b" "\\e[${lines}B"
|
if ((lines > 1)) && [[ "$kernel_name" != "OpenBSD" ]]; then
|
||||||
|
printf "%b" "\\e[${lines}B"
|
||||||
|
else
|
||||||
|
tput cub "$lines"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
old_functions() {
|
old_functions() {
|
||||||
|
|||||||
Reference in New Issue
Block a user