JuliaLang / julia

The Julia Programming Language
https://julialang.org/
MIT License
45.43k stars 5.45k forks source link

Emit OSC 9;9 escape sequences on Windows #55493

Open davidanthoff opened 4 weeks ago

davidanthoff commented 4 weeks ago

That would make it super easy in Windows Terminal to open a new tab with a new Julia process that has the same working directory as the currently open tab.

https://github.com/microsoft/terminal/pull/8330 at the top has the precise escape sequence that would need to be emitted.

Keno commented 4 weeks ago

Generally we have put these things into packages (Linux terminals have similar features). The justification is probably larger on windows because there's only one terminal emulator commonly in use, but it does raise the question whether we shouldn't be pulling the logic for similar features of other terminal emulators in also.