Fix capitalization in color mode

This commit is contained in:
Daniel Imms
2019-04-06 15:06:42 -04:00
parent 171b9337cb
commit 09a5fd4e61
3 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -165,8 +165,8 @@ export class AttributeData implements IAttributeData {
public isDim(): number { return this.bg & BgFlags.DIM; }
// color modes
public getFgColormode(): number { return this.fg & Attributes.CM_MASK; }
public getBgColormode(): number { return this.bg & Attributes.CM_MASK; }
public getFgColorMode(): number { return this.fg & Attributes.CM_MASK; }
public getBgColorMode(): number { return this.bg & Attributes.CM_MASK; }
public isFgRGB(): boolean { return (this.fg & Attributes.CM_MASK) === Attributes.CM_RGB; }
public isBgRGB(): boolean { return (this.bg & Attributes.CM_MASK) === Attributes.CM_RGB; }
public isFgPalette(): boolean { return (this.fg & Attributes.CM_MASK) === Attributes.CM_P16 || (this.fg & Attributes.CM_MASK) === Attributes.CM_P256; }