Dogfood term package from go-gh

This commit is contained in:
Mislav Marohnić 2022-10-11 14:29:50 +02:00
parent a493f6dbe8
commit 25a926d5cb
No known key found for this signature in database
11 changed files with 38 additions and 381 deletions

View file

@ -64,10 +64,6 @@ func mainRun() exitCode {
cmdFactory := factory.New(buildVersion)
stderr := cmdFactory.IOStreams.ErrOut
if spec := os.Getenv("GH_FORCE_TTY"); spec != "" {
cmdFactory.IOStreams.ForceTerminal(spec)
}
if !cmdFactory.IOStreams.ColorEnabled() {
surveyCore.DisableColor = true
} else {