diff options
| author | mo8it <mo8it@proton.me> | 2024-05-13 02:32:25 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-05-13 02:32:25 +0200 |
| commit | f9e35a4344cd7d51923f1983cf824fb36be92d50 (patch) | |
| tree | 6a41653c14dcce73c398ebfec3051102d2c2566a /src/run.rs | |
| parent | 052573904604896398a6cc7281398fa9fdf8f083 (diff) | |
Improve input handling
Diffstat (limited to 'src/run.rs')
| -rw-r--r-- | src/run.rs | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -41,7 +41,11 @@ pub fn run(app_state: &mut AppState) -> Result<()> { match app_state.done_current_exercise(&mut stdout)? { ExercisesProgress::AllDone => (), - ExercisesProgress::Pending => println!( + ExercisesProgress::CurrentPending => println!( + "Current exercise: {}", + app_state.current_exercise().terminal_link(), + ), + ExercisesProgress::NewPending => println!( "Next exercise: {}", app_state.current_exercise().terminal_link(), ), |
