aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/pkg.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-07-30 05:15:19 +0900
committerOphestra <cat@gensokyo.uk>2026-07-30 05:15:19 +0900
commit6fb2065a517f00dc6f6270b9310e48586b902e26 (patch)
tree432d6f7cd90099574f955122cdb448fc311250c7 /internal/pkg/pkg.go
parent698fd2d66a32086a41b6faadfc748b932695c7a2 (diff)
internal/pkg: optionally colour output
This increases readability in some cases. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/pkg.go')
-rw-r--r--internal/pkg/pkg.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/pkg/pkg.go b/internal/pkg/pkg.go
index f837fade..924ece2a 100644
--- a/internal/pkg/pkg.go
+++ b/internal/pkg/pkg.go
@@ -721,6 +721,9 @@ const (
// CExternShallow arranges for only non-flood inputs to be fetched when
// curing an [Artifact] available via the external cache.
CExternShallow
+
+ // CColourOutput enables output colouring via ANSI control sequences.
+ CColourOutput
)
// toplevel holds [context.WithCancel] over caller-supplied context, where all