fix lint error

This commit is contained in:
javacs3
2019-11-21 20:53:53 +08:00
parent 7ec99c2469
commit 1093b7c3d3
2 changed files with 26 additions and 26 deletions
+4 -4
View File
@@ -252,10 +252,10 @@ class BufferCellApiView implements IBufferCellApi {
public isBgRGB(): boolean { return this.cell.isBgRGB(); }
public isFgPalette(): boolean { return this.cell.isFgPalette(); }
public isBgPalette(): boolean { return this.cell.isBgPalette(); }
public isFgPalette16(): boolean { return this.cell.getFgColorMode() == Attributes.CM_P16; }
public isBgPalette16(): boolean { return this.cell.getBgColorMode() == Attributes.CM_P16; }
public isFgPalette256(): boolean { return this.cell.getFgColorMode() == Attributes.CM_P256; }
public isBgPalette256(): boolean { return this.cell.getBgColorMode() == Attributes.CM_P256; }
public isFgPalette16(): boolean { return this.cell.getFgColorMode() === Attributes.CM_P16; }
public isBgPalette16(): boolean { return this.cell.getBgColorMode() === Attributes.CM_P16; }
public isFgPalette256(): boolean { return this.cell.getFgColorMode() === Attributes.CM_P256; }
public isBgPalette256(): boolean { return this.cell.getBgColorMode() === Attributes.CM_P256; }
public isAttributeDefault(): boolean { return this.cell.fg === 0 && this.cell.bg === 0; }
public isFgDefault(): boolean { return this.cell.isFgDefault(); }