Wait for keypress when displaying qr code
This commit is contained in:
parent
863ad4c343
commit
1d441d393d
|
@ -99,6 +99,8 @@ function syncthing_show_id {
|
||||||
echo $'Your Syncthing ID code'
|
echo $'Your Syncthing ID code'
|
||||||
echo ''
|
echo ''
|
||||||
echo "$SYNCTHING_ID" | qrencode -t UTF8
|
echo "$SYNCTHING_ID" | qrencode -t UTF8
|
||||||
|
echo ''
|
||||||
|
read -n1 -rsp $"Press any key to continue..." key
|
||||||
}
|
}
|
||||||
|
|
||||||
function syncthing_add_id {
|
function syncthing_add_id {
|
||||||
|
|
Loading…
Reference in New Issue