ask-password: Use unicode for password echo

This commit is contained in:
Jan Janssen
2023-09-05 12:54:51 +02:00
committed by Lennart Poettering
parent 1527d6059d
commit 5169177fb0
+5 -1
View File
@@ -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;
}
}