summaryrefslogtreecommitdiff
path: root/std/fmt/colors.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/fmt/colors.ts')
-rw-r--r--std/fmt/colors.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/fmt/colors.ts b/std/fmt/colors.ts
index 52ba22487..3f241d5b0 100644
--- a/std/fmt/colors.ts
+++ b/std/fmt/colors.ts
@@ -21,7 +21,7 @@ interface Code {
let enabled = !noColor;
-export function setEnabled(value: boolean): void {
+export function setColorEnabled(value: boolean): void {
if (noColor) {
return;
}
@@ -29,7 +29,7 @@ export function setEnabled(value: boolean): void {
enabled = value;
}
-export function getEnabled(): boolean {
+export function getColorEnabled(): boolean {
return enabled;
}