keyboard toggle option
This commit was merged in pull request #3.
This commit is contained in:
1 parent
2ee79b85db
commit
cf7f5da7e5
1 file changed
+6
-1
@@ -71,7 +71,7 @@ function set_options() {
|
|||||||
declare -g DELAY=0.5
|
declare -g DELAY=0.5
|
||||||
declare -g KEYBOARD=1
|
declare -g KEYBOARD=1
|
||||||
|
|
||||||
while getopts "bw:HSdh" OPT; do
|
while getopts "bw:HSkdh" OPT; do
|
||||||
case "${OPT}" in
|
case "${OPT}" in
|
||||||
b)
|
b)
|
||||||
BORDER=0
|
BORDER=0
|
||||||
@@ -91,6 +91,9 @@ function set_options() {
|
|||||||
HARD_MODE=1
|
HARD_MODE=1
|
||||||
STRICT_HARD_MODE=1
|
STRICT_HARD_MODE=1
|
||||||
;;
|
;;
|
||||||
|
k)
|
||||||
|
KEYBOARD=0
|
||||||
|
;;
|
||||||
d)
|
d)
|
||||||
DELAY=0
|
DELAY=0
|
||||||
;;
|
;;
|
||||||
@@ -102,6 +105,8 @@ Options:
|
|||||||
-w Set target word
|
-w Set target word
|
||||||
-H Enable hard mode
|
-H Enable hard mode
|
||||||
-S Enable strict hard mode (Cannot reuse grey letters)
|
-S Enable strict hard mode (Cannot reuse grey letters)
|
||||||
|
-k disable on screen keyboard
|
||||||
|
-d Enable debug mode (no delay during letter reveal)
|
||||||
-h Show this help message and exit"
|
-h Show this help message and exit"
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
|||||||
Reference in new issue
Block a user