Add progress bar to list

This commit is contained in:
mo8it
2024-04-09 19:37:39 +02:00
parent ee7d976283
commit 850c1d0234
4 changed files with 85 additions and 15 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ pub fn list(state_file: &mut StateFile, exercises: &[Exercise]) -> Result<()> {
let mut ui_state = UiState::new(state_file, exercises);
'outer: loop {
terminal.draw(|frame| ui_state.draw(frame))?;
terminal.draw(|frame| ui_state.draw(frame).unwrap())?;
let key = loop {
match event::read()? {