xterm.js
xterm.js copied to clipboard
generic URI scheme support in xterm-addon-web-links
Hi devs,
The xterm-addon-web-links currently only supports the http and https schemes.
What do you think about generic URI support where the user can set/extend the schemes to support?
E.g I would be happy to have support for clickable mailto:
links.
Running this in the browser console works:
location.href = 'mailto:[email protected]?subject=Hello%20World&body=Hello%20Bob!'
Do checkout https://github.com/LabhanshAgrawal/xterm-link-provider You can give it a regex for your desired pattern and create links
@LabhanshAgrawal I will definitely take a look into your link provider. Thanks for the pointer!