Show which repo is selected in repo list command
This commit is contained in:
parent
5e87d74ede
commit
05477ee64f
1 changed files with 5 additions and 1 deletions
|
|
@ -23,7 +23,11 @@ impl Command {
|
|||
} else {
|
||||
println!("Repos: {}", repos.len());
|
||||
for (name, id) in repos {
|
||||
println!("- {name} ({id })")
|
||||
if state.selected_repo == Some(id) {
|
||||
println!("- {name} ({id }, selected)");
|
||||
} else {
|
||||
println!("- {name} ({id })");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue