diff --git a/NOTICE b/NOTICE index 14d821345c..148bc0ca87 100644 --- a/NOTICE +++ b/NOTICE @@ -62,6 +62,7 @@ under the licensing terms detailed in LICENSE: * Kam Chehresa * Mopsgamer <79159094+Mopsgamer@users.noreply.github.com> * EDM115 +* Weixie Cui Portions of this software are derived from third-party works licensed under the following terms: diff --git a/src/util/terminal.ts b/src/util/terminal.ts index c5a507bc9d..44c2cc1aff 100644 --- a/src/util/terminal.ts +++ b/src/util/terminal.ts @@ -32,7 +32,7 @@ export function isColorsEnabled(): bool { /** Sets whether terminal colors are enabled or not. */ export function setColorsEnabled(isEnabled: bool): bool { - let wasEnabled = isEnabled; + let wasEnabled = colorsEnabled; colorsEnabled = isEnabled; return wasEnabled; }