fix(tui): cleanup help dialog

This commit is contained in:
adamdottv
2025-06-22 06:44:23 -05:00
parent 28bc49ad17
commit 774dcb6980
2 changed files with 19 additions and 47 deletions

View File

@@ -363,7 +363,7 @@ func (a appModel) executeCommand(command commands.Command) (tea.Model, tea.Cmd)
}
switch command.Name {
case commands.AppHelpCommand:
helpDialog := dialog.NewHelpDialog(a.app.Commands.Sorted())
helpDialog := dialog.NewHelpDialog(a.app)
a.modal = helpDialog
case commands.EditorOpenCommand:
if a.app.IsBusy() {