Skip to content

expose xterm.js' loadAddon to plugins #4560

@rodolf0

Description

@rodolf0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions