diff options
Diffstat (limited to 'packages/tui/internal/components')
| -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 1886714e4..6041fd5e7 100644 --- a/packages/tui/internal/components/dialog/help.go +++ b/packages/tui/internal/components/dialog/help.go @@ -15,7 +15,7 @@ type helpDialog struct { width int height int modal *modal.Modal - commands commands.CommandRegistry + commands []commands.Command } func (h *helpDialog) Init() tea.Cmd { @@ -80,7 +80,7 @@ type HelpDialog interface { layout.Modal } -func NewHelpDialog(commands commands.CommandRegistry) HelpDialog { +func NewHelpDialog(commands []commands.Command) HelpDialog { return &helpDialog{ commands: commands, modal: modal.New(), |
