mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-11-06 15:51:35 +00:00
misc: fixes'
This commit is contained in:
1 parent
5f4cd424c7
commit
cd0ab04a80
1 file changed
+2
-1
@@ -159,6 +159,7 @@ get_os() {
|
|||||||
10.12*) distro="macOS Sierra" ;;
|
10.12*) distro="macOS Sierra" ;;
|
||||||
10.13*) distro="macOS High Sierra" ;;
|
10.13*) distro="macOS High Sierra" ;;
|
||||||
10.14*) distro="macOS Mojave" ;;
|
10.14*) distro="macOS Mojave" ;;
|
||||||
|
10.15*) distro="macOS Catalina" ;;
|
||||||
*) distro="macOS" ;;
|
*) distro="macOS" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -797,7 +798,7 @@ get_ascii() {
|
|||||||
# '[?25l': Hide the cursor.
|
# '[?25l': Hide the cursor.
|
||||||
# '[1m': Print the ascii in bold.
|
# '[1m': Print the ascii in bold.
|
||||||
# '[m': Clear 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[1m%s[m[%sA' "$ascii" "$ascii_height" >&6
|
printf '[?7l[?25l[1m%s[m[%sA' "$ascii" "$ascii_height" >&6
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user