mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-23 12:09:55 +00:00
General: [Minix] Fix unsupported escape sequences in Minix.
This commit is contained in:
11
neofetch
11
neofetch
@@ -3311,11 +3311,14 @@ main() {
|
|||||||
get_bold
|
get_bold
|
||||||
get_distro_colors
|
get_distro_colors
|
||||||
|
|
||||||
# If the script exits for any reason, unhide the cursor.
|
# Minix doesn't support these sequences.
|
||||||
trap 'printf "\033[?25h\033[?7h"' EXIT
|
if [[ "$TERM" != "minix" ]]; then
|
||||||
|
# If the script exits for any reason, unhide the cursor.
|
||||||
|
trap 'printf "\033[?25h\033[?7h"' EXIT
|
||||||
|
|
||||||
# Hide the cursor and disable line wrap
|
# Hide the cursor and disable line wrap
|
||||||
printf "\033[?25l\033[?7l"
|
printf "\033[?25l\033[?7l"
|
||||||
|
fi
|
||||||
|
|
||||||
get_image_backend
|
get_image_backend
|
||||||
old_functions
|
old_functions
|
||||||
|
|||||||
Reference in New Issue
Block a user