Merge pull request #5984 from xtermjs/cursor/addons-functional-fixes-89d6

fix(addons): search bounds, webgl sort, web-links regex, fit height clamp
This commit is contained in:
Daniel Imms
2026-06-01 19:34:14 -07:00
committed by GitHub
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ export class TextureAtlas implements ITextureAtlas {
return newPage;
}
const sortedMergingPagesIndexes = mergingPages.map(e => e.glyphs[0].texturePage).sort((a, b) => a > b ? 1 : -1);
const sortedMergingPagesIndexes = mergingPages.map(e => e.glyphs[0].texturePage).sort((a, b) => a - b);
const mergedPageIndex = this.pages.length - mergingPages.length;
// Merge into the new page