Skip to content

Commit c2e9da5

Browse files
committed
modified and tested the example
1 parent 979ea9c commit c2e9da5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/prompts/get-password.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
from prompt_toolkit import prompt
33

44
if __name__ == "__main__":
5-
password = prompt("Password: ", is_password=True)
5+
password = prompt("Password: ", is_password=True, hide_password=True)
66
print(f"You said: {password}")

0 commit comments

Comments
 (0)