I have been searching for quite some time, trying to find how to mask terminal OUTPUT.
Example:
print(password)
terminal:
********
But still be able to copy and paste the password value.
I have been searching for quite some time, trying to find how to mask terminal OUTPUT.
Example:
print(password)
terminal:
********
But still be able to copy and paste the password value.
There doesn't seem to be an answer to this. I have asked around :(
I worked around this problem. The goal was to be able to put the password in the clipboard. So I used Pyperclip to do it :)