slide deck presentation tool written in pure bash

Use bash's builtin method for screensize

This gets rid of annoying stty errors and makes our script fully bash
only.

Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>

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