gh-138514: getpass: restrict echo_char to a single ASCII character
#138591
+57
−9
echo_char to a single ASCII character
#138591