From 1d0bfc2b2ac2bad3a646c6adf43aa112d47c3f07 Mon Sep 17 00:00:00 2001 From: adamdottv <2363879+adamdottv@users.noreply.github.com> Date: Wed, 18 Jun 2025 14:06:20 -0500 Subject: fix(tui): help dialog sorting --- packages/tui/internal/components/dialog/help.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/tui/internal/components') 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(), -- cgit v1.2.3