From c4d7f85d9dcbc3c2b947be14b34d879d6f2a6380 Mon Sep 17 00:00:00 2001 From: Zastian Pretorius Date: Mon, 11 Jul 2022 19:46:04 +0100 Subject: [PATCH] added an output "invalid command" if the anime menue option is invalid --- src/anime/anime.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/anime/anime.rs b/src/anime/anime.rs index f4e4b68..e2cca91 100644 --- a/src/anime/anime.rs +++ b/src/anime/anime.rs @@ -79,7 +79,9 @@ pub fn anime_stream(first_run: bool) { } else if input == "q" { std::process::exit(0); } - + else{ + println!("Invalid command"); + } } } }