Skip to content

Commit 2a67918

Browse files
authored
Merge pull request #2266 from Tyriar/release/3.14_2263
Release/3.14 2263
2 parents ebb2171 + 41cfe86 commit 2a67918

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "xterm",
33
"description": "Full xterm terminal, in your browser",
4-
"version": "3.14.2",
4+
"version": "3.14.4",
55
"main": "lib/public/Terminal.js",
66
"types": "typings/xterm.d.ts",
77
"repository": "https://github.com/xtermjs/xterm.js",

src/InputHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,7 @@ export class InputHandler extends Disposable implements IInputHandler {
18161816
this._terminal.applicationCursor = false;
18171817
this._terminal.buffer.scrollTop = 0;
18181818
this._terminal.buffer.scrollBottom = this._terminal.rows - 1;
1819-
this._terminal.curAttrData = DEFAULT_ATTR_DATA;
1819+
this._terminal.curAttrData = DEFAULT_ATTR_DATA.clone();
18201820
this._terminal.buffer.x = this._terminal.buffer.y = 0; // ?
18211821
this._terminal.charset = null;
18221822
this._terminal.glevel = 0; // ??

src/core/buffer/BufferLine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export class AttributeData implements IAttributeData {
217217
}
218218
}
219219

220-
export const DEFAULT_ATTR_DATA = new AttributeData();
220+
export const DEFAULT_ATTR_DATA = Object.freeze(new AttributeData());
221221

222222
/**
223223
* CellData - represents a single Cell in the terminal buffer.

0 commit comments

Comments
 (0)