From f36a7f5672d6db4f43835769b46e99bd675a7b92 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Thu, 25 May 2023 14:46:39 -0400 Subject: [PATCH] Fixed text formatting in device ID configuration Former-commit-id: 7a032919fc0b9f82d861c4ec01f08cb75e6a44ff Former-commit-id: c9cef5ee5d88027239871695e58a55f1e5fa9ac0 --- lib/stweak.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/stweak.py b/lib/stweak.py index e580a97..692d0de 100644 --- a/lib/stweak.py +++ b/lib/stweak.py @@ -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