summaryrefslogtreecommitdiff
path: root/src/watch/state.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2025-08-21 22:43:46 +0200
committermo8it <mo8it@proton.me>2025-08-21 23:15:48 +0200
commit2d1d531550afaac36dbf4d15c383bc0e1cbf248d (patch)
tree67f030f84414a463e2e7958b1267baa3a14487e6 /src/watch/state.rs
parenta712e484d09ce27a622da5e61d26bbb1004f51d2 (diff)
Fix file links in VS Code
Diffstat (limited to 'src/watch/state.rs')
-rw-r--r--src/watch/state.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/watch/state.rs b/src/watch/state.rs
index 2413bec..a92dd2d 100644
--- a/src/watch/state.rs
+++ b/src/watch/state.rs
@@ -233,7 +233,7 @@ impl<'a> WatchState<'a> {
stdout.write_all(b"\n")?;
if let DoneStatus::DoneWithSolution(solution_path) = &self.done_status {
- solution_link_line(stdout, solution_path)?;
+ solution_link_line(stdout, solution_path, self.app_state.emit_file_links())?;
}
stdout.write_all(
@@ -252,7 +252,7 @@ impl<'a> WatchState<'a> {
stdout.write_all(b"\nCurrent exercise: ")?;
self.app_state
.current_exercise()
- .terminal_file_link(stdout)?;
+ .terminal_file_link(stdout, self.app_state.emit_file_links())?;
stdout.write_all(b"\n\n")?;
self.show_prompt(stdout)?;