diff --git a/Cargo.toml b/Cargo.toml index 892cd42..8016a31 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ keywords = ["passphrase", "password"] license = "AGPL-3.0" name = "division_of_one" repository = "https://six-five-six-four.com/git/reactor/division_of_one" -version = "1.0.0" +version = "1.0.1" [dependencies] rand = { version = "0.9.2", features = ["unbiased"] } diff --git a/src/lib.rs b/src/lib.rs index cd76fb9..0416f99 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -16,6 +16,7 @@ pub fn main() -> Result<(), String> { println!("{}", create_pin(9)); println!("{}", create_base32(8)); + // Read a line of input so that the CLI can run in its own terminal without instantly closing the terminal when we exit. println!("Press Enter"); let mut input = String::new(); std::io::stdin().read_line(&mut input).ok();