tlog: better comment for the terminal colors

This commit is contained in:
Jakob Unterwurzacher 2017-01-26 20:01:45 +01:00
parent fe1705c55b
commit de87a256ab

View File

@ -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