@xterm/addon-webgl 0.19.0-beta.69 → 0.19.0-beta.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xterm/addon-webgl",
3
- "version": "0.19.0-beta.69",
3
+ "version": "0.19.0-beta.70",
4
4
  "author": {
5
5
  "name": "The xterm.js authors",
6
6
  "url": "https://xtermjs.org/"
@@ -24,7 +24,7 @@
24
24
  "start": "node ../../demo/start"
25
25
  },
26
26
  "peerDependencies": {
27
- "@xterm/xterm": "^5.6.0-beta.69"
27
+ "@xterm/xterm": "^5.6.0-beta.70"
28
28
  },
29
- "commit": "b3f3cf1216ee5cac7671d75b684439f79423c48e"
29
+ "commit": "41e8ae395937011d6bf6c7cb618b851791aed395"
30
30
  }
@@ -314,14 +314,6 @@ export class WebglRenderer extends Disposable implements IRenderer {
314
314
  this._updateCursorBlink();
315
315
  }
316
316
 
317
- public registerCharacterJoiner(handler: (text: string) => [number, number][]): number {
318
- return -1;
319
- }
320
-
321
- public deregisterCharacterJoiner(joinerId: number): boolean {
322
- return false;
323
- }
324
-
325
317
  public renderRows(start: number, end: number): void {
326
318
  if (!this._isAttached) {
327
319
  if (this._coreBrowserService.window.document.body.contains(this._core.screenElement!) && this._charSizeService.width && this._charSizeService.height) {
@@ -510,14 +502,17 @@ export class WebglRenderer extends Disposable implements IRenderer {
510
502
  cell = this._workCell;
511
503
 
512
504
  // Null out non-first cells
513
- for (x++; x < lastCharX; x++) {
505
+ for (x++; x <= lastCharX; x++) {
514
506
  j = ((y * terminal.cols) + x) * RENDER_MODEL_INDICIES_PER_CELL;
515
507
  this._glyphRenderer.value!.updateCell(x, y, NULL_CELL_CODE, 0, 0, 0, NULL_CELL_CHAR, 0, 0);
516
508
  this._model.cells[j] = NULL_CELL_CODE;
509
+ // Don't re-resolve the cell color since multi-colored ligature backgrounds are not
510
+ // supported
517
511
  this._model.cells[j + RENDER_MODEL_BG_OFFSET] = this._cellColorResolver.result.bg;
518
512
  this._model.cells[j + RENDER_MODEL_FG_OFFSET] = this._cellColorResolver.result.fg;
519
513
  this._model.cells[j + RENDER_MODEL_EXT_OFFSET] = this._cellColorResolver.result.ext;
520
514
  }
515
+ x--; // Go back to the previous update cell for next iteration
521
516
  }
522
517
  }
523
518
  }