From: Jan Janssen Date: Mon, 4 Sep 2023 13:26:25 +0000 (+0200) Subject: ask-password: Use unicode for password echo X-Git-Tag: v255-rc1~584 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5169177fb07682bfde00f5b24bef795ee763b13a;p=thirdparty%2Fsystemd.git ask-password: Use unicode for password echo --- diff --git a/src/shared/ask-password-api.c b/src/shared/ask-password-api.c index f4697736d9c..92a191ee60b 100644 --- a/src/shared/ask-password-api.c +++ b/src/shared/ask-password-api.c @@ -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; } }