xtermjs/xterm.js

Issue in Linkifier2._removeIntersectingLinks

Open

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

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)TypeScript (16,196 star) (1,574 fork)batch import
area/linkshelp wantedtype/bug

描述

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.

贡献者指南

Issue in Linkifier2._removeIntersectingLinks · xtermjs/xterm.js#4296 | Good First Issue