diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-02-10 18:24:40 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-02-10 18:24:40 +0200 |
| commit | 75228d04d07544f14a25fd21715090f13abcdb95 (patch) | |
| tree | 485ca38b00503ee85c5168a803322422a6b387bb /internal/client/client.go | |
| parent | 9da5aa5be455f007e149484f11f5f0f399d503ca (diff) | |
Fixed issue where colors would save to config when they were empty json
array rather than null, now both [] and null are not saved
Diffstat (limited to 'internal/client/client.go')
| -rw-r--r-- | internal/client/client.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/client/client.go b/internal/client/client.go index b0a3447..0ba3530 100644 --- a/internal/client/client.go +++ b/internal/client/client.go @@ -13,7 +13,6 @@ import ( "github.com/kyren223/eko/internal/client/config" "github.com/kyren223/eko/internal/client/ui" "github.com/kyren223/eko/internal/client/ui/auth" - "github.com/kyren223/eko/internal/client/ui/colors" "github.com/kyren223/eko/pkg/assert" ) @@ -44,12 +43,6 @@ func Run() { os.Exit(1) } - config.Use(func(config *config.Config) { - if config.Colors != nil { - colors.LoadStrings(config.Colors) - } - }) - program := tea.NewProgram(initialModel(dump), tea.WithAltScreen()) assert.AddFlush(BubbleTeaCloser{program}) ui.Program = program |
