mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
ask-password: Use unicode for password echo
This commit is contained in:
parent
1527d6059d
commit
5169177fb0
@ -608,7 +608,11 @@ int ask_password_tty(
|
||||
if (FLAGS_SET(flags, ASK_PASSWORD_ECHO))
|
||||
(void) loop_write(ttyfd, passphrase + codepoint, n, false);
|
||||
else
|
||||
(void) loop_write(ttyfd, "*", 1, false);
|
||||
(void) loop_write(
|
||||
ttyfd,
|
||||
special_glyph(SPECIAL_GLYPH_BULLET),
|
||||
SIZE_MAX,
|
||||
false);
|
||||
codepoint = p;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user