xterm-addon-webgl
Advanced tools
Comparing version 0.14.0-beta.33 to 0.14.0-beta.34
{ | ||
"name": "xterm-addon-webgl", | ||
"version": "0.14.0-beta.33", | ||
"version": "0.14.0-beta.34", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "The xterm.js authors", |
@@ -8,3 +8,2 @@ /** | ||
import { IWebGL2RenderingContext, IWebGLVertexArrayObject, IRenderModel } from './Types'; | ||
import { fill } from 'common/TypedArrayUtils'; | ||
import { NULL_CELL_CODE } from 'common/buffer/Constants'; | ||
@@ -229,3 +228,3 @@ import { Terminal } from 'xterm'; | ||
if (code === NULL_CELL_CODE || code === undefined/* This is used for the right side of wide chars */) { | ||
fill(array, 0, $i, $i + INDICES_PER_CELL - 1 - CELL_POSITION_INDICES); | ||
array.fill(0, $i, $i + INDICES_PER_CELL - 1 - CELL_POSITION_INDICES); | ||
return; | ||
@@ -232,0 +231,0 @@ } |
@@ -7,3 +7,2 @@ /** | ||
import { IRenderModel } from './Types'; | ||
import { fill } from 'common/TypedArrayUtils'; | ||
import { ISelectionRenderModel } from 'browser/renderer/shared/Types'; | ||
@@ -39,5 +38,5 @@ import { createSelectionRenderModel } from 'browser/renderer/shared/SelectionRenderModel'; | ||
public clear(): void { | ||
fill(this.cells, 0, 0); | ||
fill(this.lineLengths, 0, 0); | ||
this.cells.fill(0, 0); | ||
this.lineLengths.fill(0, 0); | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
518341
2334