diff options
| author | adamdottv <[email protected]> | 2025-07-01 07:57:31 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-07-01 07:57:45 -0500 |
| commit | 33b5fe236a204a3d1d935a94e1d1d5f3a6f312a8 (patch) | |
| tree | ae9ad03002ee312652497539e9f9c668e235922e /packages/tui/internal/theme/theme.go | |
| parent | d56991006c8c94b954bf1b1734280719fe3be239 (diff) | |
| download | opencode-33b5fe236a204a3d1d935a94e1d1d5f3a6f312a8.tar.gz opencode-33b5fe236a204a3d1d935a94e1d1d5f3a6f312a8.zip | |
fix(tui): better message rendering performance
Diffstat (limited to 'packages/tui/internal/theme/theme.go')
| -rw-r--r-- | packages/tui/internal/theme/theme.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/tui/internal/theme/theme.go b/packages/tui/internal/theme/theme.go index 9b5b7b915..d5d27a1e1 100644 --- a/packages/tui/internal/theme/theme.go +++ b/packages/tui/internal/theme/theme.go @@ -8,6 +8,8 @@ import ( // All colors must be defined as compat.AdaptiveColor to support // both light and dark terminal backgrounds. type Theme interface { + Name() string + // Background colors Background() compat.AdaptiveColor // Radix 1 BackgroundPanel() compat.AdaptiveColor // Radix 2 |
