<commit_before>package terminal

import (
	"os"
	"regexp"

	"github.com/fatih/color"
	"golang.org/x/crypto/ssh/terminal"
)

const (
	red     color.Attribute = color.FgRed
	green                   = color.FgGreen
	yellow                  = color.FgYellow
	magenta                 = color.FgMagenta
	cyan                    = color.FgCyan
	grey                    = color.FgWhite
	white                   = color.FgHiWhite
)

var (
	colorize               func(message string, textColor color.Attribute, bold int) string
	TerminalSupportsColors = isTerminal()
	UserAskedForColors     = ""
)

func init() {
	InitColorSupport()
}

func InitColorSupport() {
	if colorsEnabled() {
		colorize = func(message string, textColor color.Attribute, bold int) string {
			colorPrinter := color.New(textColor)
			if bold == 1 {
				colorPrinter = colorPrinter.Add(color.Bold)
			}
			f := colorPrinter.SprintFunc()
			return f(message)
		}
	} else {<commit_msg>Use Normal White instead of Bright White<commit_after>package terminal

import (
	"os"
	"regexp"

	"github.com/fatih/color"
	"golang.org/x/crypto/ssh/terminal"
)

const (
	red     color.Attribute = color.FgRed
	green                   = color.FgGreen
	yellow                  = color.FgYellow
	magenta                 = color.FgMagenta
	cyan                    = color.FgCyan
	grey                    = color.FgWhite
	white                   = color.FgWhite
)

var (
	colorize               func(message string, textColor color.Attribute, bold int) string
	TerminalSupportsColors = isTerminal()
	UserAskedForColors     = ""
)

func init() {
	InitColorSupport()
}

func InitColorSupport() {
	if colorsEnabled() {
		colorize = func(message string, textColor color.Attribute, bold int) string {
			colorPrinter := color.New(textColor)
			if bold == 1 {
				colorPrinter = colorPrinter.Add(color.Bold)
			}
			f := colorPrinter.SprintFunc()
			return f(message)
		}
	} else {
{'fraction_non_alphanumeric': 0.0980699008868023, 'fraction_numerical': 0.0010432968179447052, 'mean_word_length': 2.2786324786324785, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6773366', 'n_tokens_mistral': 674, 'n_tokens_neox': 619, 'n_words': 130}