the password is read from console without echoing and is not saved in history. Here the specific code: https://github.com/lucasepe/pwsafe/blob/cf86ca21f88ff86dc181... and here a great description about the ReadPassword function https://www.mycodesmells.com/post/reading-password-input-in-....
Give it a shot...download the binary for your OS and play with it. thanks, luca