mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Add option to select seasons when season number is duplicated (#199)
This commit is contained in:
parent
d75c04fbb6
commit
fc44b8af8a
10 changed files with 227 additions and 52 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue