OSC8-Adoption
OSC8-Adoption copied to clipboard
VS Code now supports more protocols
By default, that’s now
[
'file',
'http', 'https',
'mailto',
'vscode', 'vscode-insiders',
]
And it’s customizable. That makes OSC 8 usable in the VS Code terminal.
See https://github.com/microsoft/vscode/issues/176812
@flying-sheep I'm not sure how (or if) this should be integrated into the list. From my reading of vscode#176812, it would appear that VS Code did support OSC 8, but it hitherto only recognised URLs that used http or https protocols. That still technically qualifies as "supporting OSC 8 escape sequences".
I don’t think it’s in the list yet, so I’d say now is a good time to add it.
@flying-sheep Do you know when VS Code first introduced support for OSC 8 hyperlinks? (Configurable or not).
For what it's worth, I thought I should note that VS Code embeds xterm.js (which is already listed) for its terminal. Hence, I would expect it (VS Code Terminal) to be listed underneath xterm.js, just like with the VTE-based emulators.
As for when Hyperlinks support was added, see here and for extra info:
- https://github.com/microsoft/vscode/issues/39278
- https://github.com/microsoft/vscode/pull/159578
- https://github.com/jamestalmage/supports-hyperlinks/pull/17
Alright, added. I'm unsure how else to proceed regarding protocols, so I'm simply honouring the precedent set in jamestalmage/supports-hyperlinks#17 by treating VS Code v1.72.0 as when hyperlink support was "officially" introduced. 🤷