fixed #5, colorization now always works as expected

This commit is contained in:
2022-10-25 14:24:05 +02:00
parent 001021dac8
commit 417faf3ff2
6 changed files with 36 additions and 60 deletions

View File

@@ -69,10 +69,11 @@ func Execute() {
return nil
}
// prepare flags
// Setup
conf.CheckEnv()
conf.PrepareModeFlags(modeflag)
conf.PrepareSortFlags(sortmode)
conf.DetermineColormode()
if err := conf.PreparePattern(); err != nil {
return err