diff options
| author | adamdotdevin <[email protected]> | 2025-07-11 06:03:21 -0500 |
|---|---|---|
| committer | adamdotdevin <[email protected]> | 2025-07-11 06:03:21 -0500 |
| commit | 04769d8a26e7d047d4dbde00ce089a4c69d9aff1 (patch) | |
| tree | ec723c95f84a1b9a051a79a05db944583c243a32 | |
| parent | 34b576d9b5336969c618819fa96df3d4f3b290b3 (diff) | |
| download | opencode-04769d8a26e7d047d4dbde00ce089a4c69d9aff1.tar.gz opencode-04769d8a26e7d047d4dbde00ce089a4c69d9aff1.zip | |
fix(tui): help commands bg color
| -rw-r--r-- | packages/tui/internal/components/dialog/help.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/tui/internal/components/dialog/help.go b/packages/tui/internal/components/dialog/help.go index 51adc3a1c..80123165a 100644 --- a/packages/tui/internal/components/dialog/help.go +++ b/packages/tui/internal/components/dialog/help.go @@ -49,7 +49,7 @@ func (h *helpDialog) Update(msg tea.Msg) (tea.Model, tea.Cmd) { func (h *helpDialog) View() string { t := theme.CurrentTheme() - h.commandsComponent.SetBackgroundColor(t.BackgroundElement()) + h.commandsComponent.SetBackgroundColor(t.BackgroundPanel()) return h.viewport.View() } @@ -70,7 +70,7 @@ func NewHelpDialog(app *app.App) HelpDialog { return &helpDialog{ app: app, commandsComponent: commandsComponent.New(app, - commandsComponent.WithBackground(theme.CurrentTheme().BackgroundElement()), + commandsComponent.WithBackground(theme.CurrentTheme().BackgroundPanel()), commandsComponent.WithShowAll(true), commandsComponent.WithKeybinds(true), ), |
