浏览代码

Wait for keypress when displaying qr code

Bob Mottram 8 年前
父节点
当前提交
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 {