]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/ask-password-api: do not show hint on echo
authorChristian Hesse <mail@eworm.de>
Wed, 11 Mar 2020 19:39:07 +0000 (20:39 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 12 Mar 2020 16:55:23 +0000 (17:55 +0100)
commitddee0e815ed5500722019bcb807957ea6846212d
tree62f4dc0469c763be7ed3f6ead4558d1d2982c81b
parent567a5307601728c618546c584f63307283fa8def
shared/ask-password-api: do not show hint on echo

Giving --echo to systemd-ask-password allows to echo the user input instead
of masking it. This is useful when querying for usernames or similar.

Showing "(press TAB for no echo)" does not make sense there, so do not.
Note that pressing TAB or ESC still disables echo.
src/shared/ask-password-api.c