diff --git a/wordle b/wordle index f5e54e8..82dd492 100755 --- a/wordle +++ b/wordle @@ -67,8 +67,9 @@ function set_options() { declare -g BORDER=1 declare -g HARD_MODE=0 declare -g STRICT_HARD_MODE=0 + declare -g DELAY=0.5 - while getopts "bw:HSh" OPT; do + while getopts "bw:HSdh" OPT; do case "${OPT}" in b) BORDER=0 @@ -88,6 +89,9 @@ function set_options() { HARD_MODE=1 STRICT_HARD_MODE=1 ;; + d) + DELAY=0 + ;; h) echo -e "Usage: [OPTIONS] Play a game for Wordle @@ -251,7 +255,7 @@ function reveal_row() { echo -en "\e[${RNUM};${OFFSET}H" for (( C=0; C