mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 01:34:22 +01:00
fix(tui): help commands bg color
This commit is contained in:
@@ -49,7 +49,7 @@ func (h *helpDialog) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|||||||
|
|
||||||
func (h *helpDialog) View() string {
|
func (h *helpDialog) View() string {
|
||||||
t := theme.CurrentTheme()
|
t := theme.CurrentTheme()
|
||||||
h.commandsComponent.SetBackgroundColor(t.BackgroundElement())
|
h.commandsComponent.SetBackgroundColor(t.BackgroundPanel())
|
||||||
return h.viewport.View()
|
return h.viewport.View()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@ func NewHelpDialog(app *app.App) HelpDialog {
|
|||||||
return &helpDialog{
|
return &helpDialog{
|
||||||
app: app,
|
app: app,
|
||||||
commandsComponent: commandsComponent.New(app,
|
commandsComponent: commandsComponent.New(app,
|
||||||
commandsComponent.WithBackground(theme.CurrentTheme().BackgroundElement()),
|
commandsComponent.WithBackground(theme.CurrentTheme().BackgroundPanel()),
|
||||||
commandsComponent.WithShowAll(true),
|
commandsComponent.WithShowAll(true),
|
||||||
commandsComponent.WithKeybinds(true),
|
commandsComponent.WithKeybinds(true),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user