xtermjs/xterm.js

Issue in Linkifier2._removeIntersectingLinks

Ouverte

#4 296 ouverte le 8 déc. 2022

 (0 commentaire) (0 réaction) (0 personne assignée)TypeScript (1 574 forks)batch import
area/linkshelp wantedtype/bug

Métriques du dépôt

Stars
 (16 196 étoiles)
Métriques de merge PR
 (Merge moyen 2j 10h) (16 PRs mergées en 30 j)

Description

Coming from https://github.com/xtermjs/xterm.js/pull/4288.

There is an issue with the private method Linkifier2._removeIntersectingLinks not correctly respecting multiple wrapped links in one merged line, which leads to wrong removal of later links.

On a first look it seems the method does not account y-progression, thus later links are mistaken as overlapping from their column position only.

Guide contributeur