getpass.pl -- Request passwords using XPCE
This module provides getpass/1 as a simple way to prompt for a password
and the class passwd_item
, which defines a text_item with ***
feedback.
- getpass(-Passwd)
- Asks the user for a password. Provides feedback as `*' characters
The password typed is returned as a Prolog list. All intermediate
results use XPCE strings rather than atoms to avoid finding the
typed password by inspecting the Prolog or XPCE symbol-table.