xtermjs / xterm.js

A terminal for the web
https://xtermjs.org/
MIT License
17.43k stars 1.62k forks source link

Split Linkifier2 (always active) into Linkifier (after attach) and LinkProviderService (always active) #4924

Closed Tyriar closed 8 months ago

Tyriar commented 8 months ago

This PR pulls the part of links that needs to be active before the terminal is attached to the DOM (link provider registration) from the actual link implementation which requires the DOM. This simplifies things by removing a bunch of null checks from linkifier. Linkifier2 is also renamed to Linkifier which was long overdue.