From 3543155953ff08bcb7d09c3a5f1d038b8b281f16 Mon Sep 17 00:00:00 2001 From: javacs3 Date: Sun, 8 Sep 2019 23:09:28 +0800 Subject: [PATCH] fix typo --- src/public/Terminal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/Terminal.ts b/src/public/Terminal.ts index e1aef88e..9f3aca87 100644 --- a/src/public/Terminal.ts +++ b/src/public/Terminal.ts @@ -257,7 +257,7 @@ class BufferCellApiView implements IBufferCellApi { }; this.bg = { get colorMode(): 'RGB' | 'P256' | 'P16' | 'DEFAULT' { - switch (cell.getFgColorMode()) { + switch (cell.getBgColorMode()) { case Attributes.CM_RGB: return 'RGB'; case Attributes.CM_P256: return 'P256'; case Attributes.CM_P16: return 'P16';