From f638f4bd1e3a03bc2bdd5f9dcd57d4830fd3c553 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Sun, 24 Mar 2024 14:18:53 -0400 Subject: Overhaul events system + add url_manager --- src/main.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 33c2036..3b8bb70 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,7 +21,6 @@ fn main() -> Result<()> { description: "Open new link".to_string(), action: AppAction::OpenUrl, }, - // Navigation KeyCommand { key_code: "g".to_string(), @@ -50,9 +49,9 @@ fn main() -> Result<()> { }, KeyCommand { key_code: "?".to_string(), - description: "Show help menu".to_string(), - action: AppAction::ShowHelpMenu - } + description: "Toggle help menu".to_string(), + action: AppAction::ShowHelpMenu, + }, ]; app.key_commands.append(&mut key_commands); -- cgit v1.2.3