Fix file links in VS Code

This commit is contained in:
mo8it
2025-08-21 23:15:48 +02:00
parent a712e484d0
commit 2d1d531550
7 changed files with 57 additions and 42 deletions
+2 -2
View File
@@ -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)?;