From 603110e81650656da4883d5d0ece2add6c208d8f Mon Sep 17 00:00:00 2001 From: He4eT Date: Sun, 29 Mar 2026 20:59:11 +0200 Subject: [PATCH] Format interactive prompts with brackets --- README.md | 4 ++-- bwc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fccd34a..bb51bd3 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,8 @@ Searching for 'github'... abcdefgh-ijkl-mnop-qrst-uvwxyz123456 github.com -Username 'Username' copied to clipboard. -Press any key to copy the password... +Username 'username' copied to clipboard. +[Press any key to copy the password] Password copied to clipboard. ``` diff --git a/bwc b/bwc index 0056e16..1aa6100 100755 --- a/bwc +++ b/bwc @@ -30,13 +30,13 @@ process_item () { echo $username | xclip -sel clip echo "Username '$username' copied to clipboard." - read -s -k $'?Press any key to copy the password...\n' + read -s -k $'?[Press any key to copy the password]\n' jq -r ".login.password" <<< $login | xclip -sel clip echo "Password copied to clipboard." local totp=$(jq -r ".login.totp" <<< $login) if [[ $totp != "" && $totp != "null" ]]; then - read -s -k $'?Press any key to copy the TOTP Token...\n' + read -s -k $'[Press any key to copy the TOTP Token]\n' bw get totp $id --session $sessionkey | xclip -sel clip echo "Token copied to clipboard." fi