Explorar el Código

Format press enter message a bit better

apiraino hace 4 años
padre
commit
a3dbbd5cea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/bin/prioritization.rs

+ 1 - 1
src/bin/prioritization.rs

@@ -18,7 +18,7 @@ async fn main() {
 fn press_key_to_continue() {
     let mut stdout = io::stdout();
     stdout
-        .write(b"Press a key to continue ...")
+        .write(b"[Press Enter to continue]")
         .expect("Unable to write to stdout");
     stdout.flush().expect("Unable to flush stdout");