From d44fe10696e15d67cd4266b0391fb0033a98919c Mon Sep 17 00:00:00 2001 From: Olegs Capligins Date: Tue, 7 Oct 2025 19:47:50 +0300 Subject: [PATCH] Issue 116: fix crash on ctrl-o command info --- trogon/trogon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trogon/trogon.py b/trogon/trogon.py index e36eb51..e02bbd1 100644 --- a/trogon/trogon.py +++ b/trogon/trogon.py @@ -270,8 +270,8 @@ def action_focus_command_tree(self) -> None: command_tree.focus() def action_show_command_info(self) -> None: - command_builder = self.query_one(CommandBuilder) - self.push_screen(CommandInfo(command_builder.selected_command_schema)) + command_form = self.query_one(CommandForm) + self.push_screen(CommandInfo(command_form.command_schema)) def action_visit(self, url: str) -> None: """Visit the given URL, via the operating system.