소스 검색

Wait for keypress when displaying qr code

Bob Mottram 7 년 전
부모
커밋
1d441d393d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2
    0
      src/freedombone-app-syncthing

+ 2
- 0
src/freedombone-app-syncthing 파일 보기

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