Sfoglia il codice sorgente

Cursor position during wait

Bob Mottram 7 anni fa
parent
commit
153d4d146b
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      src/freedombone-controlpanel

+ 2
- 1
src/freedombone-controlpanel Vedi File

@@ -43,7 +43,8 @@ function please_wait {
43 43
         clear
44 44
         tput cup $((height / 2)) $(((width / 2) - (length / 2)))
45 45
         echo "$str"
46
-        tput cup $((height / 2) + 2) $(((width / 2)))
46
+        tput cup $((height * 3 / 4)) $(((width / 2)))
47
+        echo -n ''
47 48
 }
48 49
 
49 50
 please_wait