From de87a256abcbf95e0417a2764be18dc3630eee8c Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 26 Jan 2017 20:01:45 +0100 Subject: [PATCH] tlog: better comment for the terminal colors --- internal/tlog/log.go | 4 ++-- 1 file 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