mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
remove useless condition
This commit is contained in:
@@ -357,9 +357,7 @@ export class BufferLine implements IBufferLine {
|
||||
} else {
|
||||
// slow path: new alloc and full data copy
|
||||
const data = new Uint32Array(fourByteCells);
|
||||
if (this.length && this._data.length <= fourByteCells) {
|
||||
data.set(this._data);
|
||||
}
|
||||
data.set(this._data);
|
||||
this._data = data;
|
||||
}
|
||||
for (let i = this.length; i < cols; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user