Remove readonly from ctors

This commit is contained in:
Daniel Imms
2020-04-14 06:03:31 -07:00
parent e2ac4b45d0
commit 04c1e4b57d
7 changed files with 16 additions and 15 deletions
+1
View File
@@ -14,6 +14,7 @@ export class AttributeData implements IAttributeData {
value & 255
];
}
static fromColorRGB(value: IColorRGB): number {
return (value[0] & 255) << Attributes.RED_SHIFT | (value[1] & 255) << Attributes.GREEN_SHIFT | value[2] & 255;
}
+2 -2
View File
@@ -27,8 +27,8 @@ export class BufferSet implements IBufferSet {
* @param _terminal - The terminal the BufferSet will belong to
*/
constructor(
readonly optionsService: IOptionsService,
readonly bufferService: IBufferService
optionsService: IOptionsService,
bufferService: IBufferService
) {
this._normal = new Buffer(true, optionsService, bufferService);
this._normal.fillViewportRows();