Fixed text formatting in device ID configuration

Former-commit-id: 7a032919fc0b9f82d861c4ec01f08cb75e6a44ff
Former-commit-id: c9cef5ee5d88027239871695e58a55f1e5fa9ac0
This commit is contained in:
2023-05-25 14:46:39 -04:00
parent fe54acd3b0
commit f36a7f5672
+3 -4
View File
@@ -198,10 +198,9 @@ def ssh_config():
# device id configuration
def dev_id_config(_ip, _username_ssh, _port):
_device_id_prefix = curses_text('name this device:\n\n\n\n\n(ctrl+g/enter to confirm)\n\n'
'important:\u001b[0m this id \u001b[4;1mmust\u001b[0m be '
'unique amongst your client devices\n\nthis is used to keep '
'track of database syncing and quick-unlock permissions\n')
_device_id_prefix = curses_text('name this device:\n\n\n\n\n(ctrl+g/enter to confirm)\n\nimportant: this '
'id must be unique amongst your client devices\n\nthis is used to keep track of '
'database syncing and quick-unlock permissions\n')
_device_id_suffix = string_gen('f', randint(24, 48))
_device_id = _device_id_prefix + '-' + _device_id_suffix
# remove existing device ids