Expose underline attrs as getter/setter

In preparation for storing them in a packed format for glyph caching
This commit is contained in:
Daniel Imms
2022-07-23 07:13:29 -07:00
parent 1207acc495
commit cc8748313e
2 changed files with 22 additions and 7 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ export const DEFAULT_ATTR_DATA = Object.freeze(new AttributeData());
export class BufferLine implements IBufferLine {
protected _data: Uint32Array;
protected _combined: {[index: number]: string} = {};
protected _extendedAttrs: {[index: number]: ExtendedAttrs} = {};
protected _extendedAttrs: {[index: number]: IExtendedAttrs} = {};
public length: number;
constructor(cols: number, fillCellData?: ICellData, public isWrapped: boolean = false) {