diff options
| author | adamdottv <[email protected]> | 2025-06-12 05:35:40 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-06-12 16:00:24 -0500 |
| commit | cce2e4ad754479917fc8f6f24c1421cf19c04573 (patch) | |
| tree | 62c0ec32358932a468af73b44fd28e7de7859bbe /packages/tui/internal/theme/manager.go | |
| parent | a1ce35c208bf9ebca37f722e845035bd7fd5e801 (diff) | |
| download | opencode-cce2e4ad754479917fc8f6f24c1421cf19c04573.tar.gz opencode-cce2e4ad754479917fc8f6f24c1421cf19c04573.zip | |
wip: refactoring tui
Diffstat (limited to 'packages/tui/internal/theme/manager.go')
| -rw-r--r-- | packages/tui/internal/theme/manager.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/tui/internal/theme/manager.go b/packages/tui/internal/theme/manager.go index 020e3e193..3e351f7f1 100644 --- a/packages/tui/internal/theme/manager.go +++ b/packages/tui/internal/theme/manager.go @@ -6,8 +6,7 @@ import ( "slices" "strings" "sync" - - "github.com/alecthomas/chroma/v2/styles" + // "github.com/alecthomas/chroma/v2/styles" ) // Manager handles theme registration, selection, and retrieval. @@ -46,7 +45,7 @@ func RegisterTheme(name string, theme Theme) { func SetTheme(name string) error { globalManager.mu.Lock() defer globalManager.mu.Unlock() - delete(styles.Registry, "charm") + // delete(styles.Registry, "charm") // Handle custom theme // if name == "custom" { |
