Skip to content

Commit

Permalink
Test d'affichage d'un message dans le terminal
Browse files Browse the repository at this point in the history
jusqu'à ce que ENTER soit pressé
  • Loading branch information
PingoLeon committed Sep 12, 2024
1 parent 7d39221 commit d8f7f92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fn main() {
println!("Hello, world!");
std::io::stdin().read_line(&mut String::new()).unwrap();
}

0 comments on commit d8f7f92

Please sign in to comment.