+4
-1
shlide
+4
-1
shlide
···
75
75
printf '\e[2J'
76
76
77
77
# Get screen size.
78
-
read -r LINES COLUMNS < <(stty -F /dev/tty size)
78
+
case "$OSTYPE" in
79
+
"darwin"*) read -r LINES COLUMNS < <(stty -f /dev/tty size) ;;
80
+
*) read -r LINES COLUMNS < <(stty -F /dev/tty size) ;;
81
+
esac
79
82
80
83
# Write slide number at bottom left.
81
84
printf '\e[H'