]> git.ipfire.org Git - thirdparty/systemd.git/commit
ask-password: allow to control lock and key emoji
authorChristian Hesse <mail@eworm.de>
Wed, 26 May 2021 20:38:30 +0000 (22:38 +0200)
committerChristian Hesse <mail@eworm.de>
Mon, 31 May 2021 19:13:31 +0000 (21:13 +0200)
commite390c34d001187b8c18760e6ce33b72117c59ff1
tree258c5b2e6f4b9910d5392bdc9e435d5820c94a17
parent4858bc0d8453bfbadf46aecd291e886d2a8a2f20
ask-password: allow to control lock and key emoji

Giving --echo to systemd-ask-password allows to echo the user input.
There's nothing secret, so do not show a lock and key emoji by default.

The behavior can be controlled with --emoji=yes|no|auto. The default is
auto, which defaults to yes, unless --echo is given.
man/systemd-ask-password.xml
src/ask-password/ask-password.c
src/shared/ask-password-api.c
src/shared/ask-password-api.h