misc: fixes'

This commit is contained in:
Dylan Araps 2019-09-25 09:52:31 +03:00
parent 5f4cd424c7
commit cd0ab04a80

3
pfetch
View File

@ -159,6 +159,7 @@ get_os() {
10.12*) distro="macOS Sierra" ;;
10.13*) distro="macOS High Sierra" ;;
10.14*) distro="macOS Mojave" ;;
10.15*) distro="macOS Catalina" ;;
*) distro="macOS" ;;
esac
@ -797,7 +798,7 @@ get_ascii() {
# '[?25l': Hide the cursor.
# '[1m': Print the ascii in bold.
# '[m': Clear bold.
# '[%sA: Move the cursor up '$ascii_height' amount of lines.
# '[%sA': Move the cursor up '$ascii_height' amount of lines.
printf '[?7l[?25l%s[%sA' "$ascii" "$ascii_height" >&6
}