QoL improvement and Bug fix
This commit is contained in:
parent
790fba496c
commit
71e51adb4c
1 changed files with 2 additions and 2 deletions
|
@ -185,7 +185,7 @@ pub fn int_list(manager: &mut manager::Manager){
|
||||||
|
|
||||||
// Listing out passwords
|
// Listing out passwords
|
||||||
println!(" - {} All Passwords {} - ", COLOR_YELLOW, COLOR_RESET);
|
println!(" - {} All Passwords {} - ", COLOR_YELLOW, COLOR_RESET);
|
||||||
for i in 0..passwords.len()-1 {
|
for i in 0..passwords.len() {
|
||||||
println!("{0}{1}{2}) {3}{4}{2}\t({5}{6}{2})", COLOR_GREEN, i, COLOR_RESET, COLOR_CYAN, passwords[i].name, COLOR_MAGENTA, passwords[i].user);
|
println!("{0}{1}{2}) {3}{4}{2}\t({5}{6}{2})", COLOR_GREEN, i+1, COLOR_RESET, COLOR_CYAN, passwords[i].name, COLOR_MAGENTA, passwords[i].user);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue