main : afficher l'input s'il y en a un

This commit is contained in:
Ahurac 2024-04-09 12:20:21 +02:00
parent 0e79d25d7d
commit 443d5d50a9

View file

@ -22,6 +22,10 @@ fn main() {
if bytes_read == 0 {
println!();
exit();
} else {
let user_input = user_input.trim();
println!("{}", user_input);
}
}
}