Add option to select seasons when season number is duplicated (#199)

This commit is contained in:
bytedream 2023-06-23 17:19:16 +02:00
parent d75c04fbb6
commit fc44b8af8a
10 changed files with 227 additions and 52 deletions

View file

@ -18,6 +18,7 @@ mod search;
mod utils;
pub use archive::Archive;
use dialoguer::console::Term;
pub use download::Download;
pub use login::Login;
pub use search::Search;
@ -168,6 +169,9 @@ pub async fn cli_entrypoint() {
}
}
}
// when pressing ctrl-c while interactively choosing seasons the cursor stays hidden, this
// line shows it again
let _ = Term::stdout().show_cursor();
std::process::exit(1)
})
.unwrap();