summaryrefslogtreecommitdiff
path: root/src/watch/state.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-04-14 02:41:19 +0200
committermo8it <mo8it@proton.me>2024-04-14 02:41:19 +0200
commitbee62c89de09fdd9823cba81e07f0f8528fe8ef9 (patch)
treebca32899b02862936905ed84624ebd3af2b0e691 /src/watch/state.rs
parent5c0073a9485c4226e58b657cb49628919a28a942 (diff)
Add terminal links
Diffstat (limited to 'src/watch/state.rs')
-rw-r--r--src/watch/state.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/watch/state.rs b/src/watch/state.rs
index 6a97637..1a79573 100644
--- a/src/watch/state.rs
+++ b/src/watch/state.rs
@@ -136,11 +136,7 @@ When you are done experimenting, enter `n` or `next` to go to the next exercise
)?;
self.writer.write_fmt(format_args!(
"{progress_bar}Current exercise: {}\n",
- self.app_state
- .current_exercise()
- .path
- .to_string_lossy()
- .bold(),
+ self.app_state.current_exercise().terminal_link(),
))?;
self.show_prompt()?;