File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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 ; // ??
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments