xtermjs/xterm.js

Issue in Linkifier2._removeIntersectingLinks

开放

#4,296 创建于 2022年12月8日

 (0 条评论) (0 个反应) (0 位负责人)TypeScript (1,574 个派生)batch import
area/linkshelp wantedtype/bug

仓库指标

星标
 (16,196 个星标)
PR 合并指标
 (平均合并 2天 10小时) (30 天内合并 16 个 PR)

描述

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.

贡献者指南