Add streak and done to info output

This commit is contained in:
Nicolás A. Ortega Froysa 2022-08-19 14:13:26 +02:00
parent b6d61b5ee9
commit c0cb7eac82

View File

@ -151,6 +151,8 @@ impl HabitMgr
println!("Active Days: {}", habit.active_days_string()); println!("Active Days: {}", habit.active_days_string());
println!("Bad: {}", habit.get_bad()); println!("Bad: {}", habit.get_bad());
println!("Weight: {}", habit.get_priority()); println!("Weight: {}", habit.get_priority());
println!("Done: {}", habit.get_done());
println!("Streak: {}", habit.get_streak());
} }
pub fn modify(&mut self, id:usize, pub fn modify(&mut self, id:usize,