Disable ANSI colors in JSON mode.

This commit is contained in:
Dianne Skoll
2025-08-14 13:57:23 -04:00
parent 7762f4f2d6
commit 582f388500

View File

@@ -6,8 +6,8 @@
# SPDX-License-Identifier: GPL-2.0-only
if !defined("ansi_bold")
# Disable ANSI attributes in calendar mode
if $CalMode || $PSCal
# Disable ANSI attributes in calendar mode or JSON mode
if $CalMode || $PSCal || $JSONMode
set ansi_normal ""
set ansi_bold ""
set ansi_faint ""