mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-05 01:33:30 +02:00
Add progress bar to list
This commit is contained in:
+1
-1
@@ -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()? {
|
||||
|
||||
Reference in New Issue
Block a user