Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose xterm.js' loadAddon to plugins #4560

Open
rodolf0 opened this issue May 17, 2020 · 0 comments
Open

expose xterm.js' loadAddon to plugins #4560

rodolf0 opened this issue May 17, 2020 · 0 comments

Comments

@rodolf0
Copy link

rodolf0 commented May 17, 2020

Feature request:
xterm.js is extensible via addons. Hyper currently loads a static set of addons (https://github.com/zeit/hyper/blob/bad51f9c15a9f094588a3c3e36bea2b5151d4606/lib/components/term.tsx#L154-L158). It would be useful to allow plugins to enable additional addons.

One of the main motivators behind this would be to allow for custom ILinkProvider to enhance user interaction with text objects. Some examples of link providers beyond the static WebLinksAddon could be matching emails or user provided regexes as requested in xtermjs/xterm.js#2893.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant