aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2024-03-24 14:18:53 -0400
committerShav Kinderlehrer <[email protected]>2024-03-24 14:18:53 -0400
commitf638f4bd1e3a03bc2bdd5f9dcd57d4830fd3c553 (patch)
treefa42f60268450070fd8c25596c6bdc046369996b /src/main.rs
parent9d23304feba7b1ed50e582ea5a26deafedba505a (diff)
downloadmolehole-f638f4bd1e3a03bc2bdd5f9dcd57d4830fd3c553.tar.gz
molehole-f638f4bd1e3a03bc2bdd5f9dcd57d4830fd3c553.zip
Overhaul events system + add url_managerHEADmain
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 3 insertions, 4 deletions
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);