Parcourir la source

Wait for keypress when displaying qr code

Bob Mottram il y a 8 ans
Parent
révision
1d441d393d
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2
    0
      src/freedombone-app-syncthing

+ 2
- 0
src/freedombone-app-syncthing Voir le fichier

99
     echo $'Your Syncthing ID code'
99
     echo $'Your Syncthing ID code'
100
     echo ''
100
     echo ''
101
     echo "$SYNCTHING_ID" | qrencode -t UTF8
101
     echo "$SYNCTHING_ID" | qrencode -t UTF8
102
+    echo ''
103
+    read -n1 -rsp $"Press any key to continue..." key
102
 }
104
 }
103
 
105
 
104
 function syncthing_add_id {
106
 function syncthing_add_id {