slide deck presentation tool written in pure bash

Fix getting screensize on OpenBSD

OpenBSD doesn't have 'stty -F'; an alternative is to use bash's native
'checkwinsize' shell option to populate $LINES and $COLUMNS.

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

Changed files
+1
+1
shlide
··· 77 77 # Get screen size. 78 78 case "$OSTYPE" in 79 79 "darwin"*) read -r LINES COLUMNS < <(stty -f /dev/tty size) ;; 80 + "openbsd"*) shopt -s checkwinsize; (:;:) ;; 80 81 *) read -r LINES COLUMNS < <(stty -F /dev/tty size) ;; 81 82 esac 82 83