aboutsummaryrefslogtreecommitdiff
path: root/internal/tlog/log.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-01-26 20:01:45 +0100
committerJakob Unterwurzacher2017-01-26 20:01:45 +0100
commitde87a256abcbf95e0417a2764be18dc3630eee8c (patch)
treed04dc41856a2a839b2e1e8f8959659ae725e7451 /internal/tlog/log.go
parentfe1705c55b5091d2d789b235fd02363b70cecc38 (diff)
tlog: better comment for the terminal colors
Diffstat (limited to 'internal/tlog/log.go')
-rw-r--r--internal/tlog/log.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/tlog/log.go b/internal/tlog/log.go
index 4ab5d79..bd8844b 100644
--- a/internal/tlog/log.go
+++ b/internal/tlog/log.go
@@ -17,8 +17,8 @@ const (
wpanicMsg = "-wpanic turns this warning into a panic: "
)
-// Escape sequences for terminal colors. These will be empty strings if stdout
-// is not a terminal.
+// Escape sequences for terminal colors. These are set in init() if and only
+// if stdout is a terminal. Otherwise they are empty strings.
var (
// ColorReset is used to reset terminal colors.
ColorReset string