From d07d4d70b4180625718a00bff61ec9ba5f4ef2f6 Mon Sep 17 00:00:00 2001 From: Love Billenius Date: Wed, 1 Mar 2023 22:56:02 +0100 Subject: [PATCH] clear in both selections --- src/main.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index f51f96a..684fa57 100644 --- a/src/main.rs +++ b/src/main.rs @@ -82,7 +82,7 @@ async fn main() { } let user_wish = readline - .input("Which one do you wish to stream? [ q/f/s/r/d ]: ") + .input("Which one do you wish to stream? [ q/f/s/r/c/d ]: ") .to_lowercase(); let user_wish = user_wish.trim(); @@ -110,6 +110,10 @@ async fn main() { ); continue; } + "c" => { + config.update_last_search_ugly(None); + continue; + } // Downloadmode "d" => { let to_download =