From 7c21b1f0c06d414f9205beae9bd14834fb36b12f Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Wed, 21 Jan 2026 13:32:30 -0500 Subject: [PATCH] fix: use strconv.ParseBool Co-authored-by: Andrey Nering --- internal/cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/root.go b/internal/cmd/root.go index db50f8138085ac825848aaf0b97d229d97f4f57c..4146244553b76ba4c0c2967636d7a077b706ee0d 100644 --- a/internal/cmd/root.go +++ b/internal/cmd/root.go @@ -90,7 +90,7 @@ crush -y var env uv.Environ = os.Environ() var model tea.Model - if _, ok := env.LookupEnv("CRUSH_NEW_UI"); ok { + if v, _ := strconv.ParseBool(env.Getenv("CRUSH_NEW_UI")); v { slog.Info("New UI in control!") com := common.DefaultCommon(app) ui := ui.New(com)