diff options
| author | adamdottv <[email protected]> | 2025-06-27 07:46:42 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-06-27 14:26:25 -0500 |
| commit | 79bbf90b727f35915e665b99ba13f260b0dc94fe (patch) | |
| tree | 4ee5e4d79635429a45b9035955323e3e03078e78 /packages/tui/internal/config | |
| parent | 226a4a7f3610860d437ddf8d7d8216e909297418 (diff) | |
| download | opencode-79bbf90b727f35915e665b99ba13f260b0dc94fe.tar.gz opencode-79bbf90b727f35915e665b99ba13f260b0dc94fe.zip | |
chore: rework openapi spec and use stainless sdk
Diffstat (limited to 'packages/tui/internal/config')
| -rw-r--r-- | packages/tui/internal/config/config.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/tui/internal/config/config.go b/packages/tui/internal/config/config.go index 29db8657e..258007a47 100644 --- a/packages/tui/internal/config/config.go +++ b/packages/tui/internal/config/config.go @@ -7,7 +7,6 @@ import ( "os" "github.com/BurntSushi/toml" - "github.com/sst/opencode/pkg/client" ) type State struct { @@ -22,13 +21,6 @@ func NewState() *State { } } -func MergeState(state *State, config *client.ConfigInfo) *client.ConfigInfo { - if config.Theme == nil { - config.Theme = &state.Theme - } - return config -} - // SaveState writes the provided Config struct to the specified TOML file. // It will create the file if it doesn't exist, or overwrite it if it does. func SaveState(filePath string, state *State) error { |
