wait ten more seconds between ocr retries after successful ocr

This commit is contained in:
Jack Smith
2021-11-12 16:57:25 +02:00
parent 0d5f89aa2d
commit ce3ee4c410
+2
View File
@@ -1610,10 +1610,12 @@ function prompt_lang_utils_terminal() {
if [[ "${ocr}" =~ ${regex_lang} ]]; then if [[ "${ocr}" =~ ${regex_lang} ]]; then
animated_please_wait 20 animated_please_wait 20
send_enter send_enter
animated_please_wait 20
elif [[ "${ocr}" =~ Utilities ]]; then elif [[ "${ocr}" =~ Utilities ]]; then
animated_please_wait 20 animated_please_wait 20
kbspecial='CTRLprs F2 CTRLrls u ENTER t ENTER' # start Terminal kbspecial='CTRLprs F2 CTRLrls u ENTER t ENTER' # start Terminal
send_special send_special
animated_please_wait 20
elif [[ "${ocr}" =~ ${regex_term} ]]; then elif [[ "${ocr}" =~ ${regex_term} ]]; then
sleep 2 sleep 2
return return