From 0d110ea8bf45fbc865ccb15fd17b95398947cd18 Mon Sep 17 00:00:00 2001 From: Rick Kilgore Date: Mon, 15 May 2023 02:47:53 -0700 Subject: [PATCH] survey: fix color contrast of default values in prompts (#7354) --- cmd/gh/main.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/gh/main.go b/cmd/gh/main.go index eb0ad0672..f231d7d2c 100644 --- a/cmd/gh/main.go +++ b/cmd/gh/main.go @@ -80,9 +80,6 @@ func mainRun() exitCode { surveyCore.TemplateFuncsWithColor["color"] = func(style string) string { switch style { case "white": - if cmdFactory.IOStreams.ColorSupport256() { - return fmt.Sprintf("\x1b[%d;5;%dm", 38, 242) - } return ansi.ColorCode("default") default: return ansi.ColorCode(style)