feat: print ln

This commit is contained in:
2023-10-25 23:18:14 +08:00
parent c05cf1a7cf
commit 19269bf6de

View File

@@ -200,7 +200,7 @@ pub fn zeroize(object: impl Zeroize) {
}
pub fn read_line(ln: &str) {
print!("{}", ln);
print_ex!("{}", ln);
io::stdout().flush().ok();
let mut buff = String::new();
let _ = io::stdin().read_line(&mut buff).expect("Read line from stdin");