aboutsummaryrefslogtreecommitdiff
path: root/src/keys/key_commands.rs
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2024-03-23 13:08:14 -0400
committerShav Kinderlehrer <[email protected]>2024-03-23 13:08:14 -0400
commit0e29fa02995273bfd803aea48773cbe52a7366ed (patch)
treeefd8302cfc433c076010d94849fda224d36167d4 /src/keys/key_commands.rs
parent0c5e8ab544823fbb4936c536ee1d8a66298f7e51 (diff)
downloadmolehole-0e29fa02995273bfd803aea48773cbe52a7366ed.tar.gz
molehole-0e29fa02995273bfd803aea48773cbe52a7366ed.zip
Rework actions and events + start statusbar
Diffstat (limited to 'src/keys/key_commands.rs')
-rw-r--r--src/keys/key_commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keys/key_commands.rs b/src/keys/key_commands.rs
index 27fe0ad..fc06286 100644
--- a/src/keys/key_commands.rs
+++ b/src/keys/key_commands.rs
@@ -6,7 +6,7 @@ use crate::app_action::AppAction;
pub struct KeyCommand {
pub key_code: String,
pub description: String,
- pub action: Option<AppAction>,
+ pub action: AppAction,
}
impl std::fmt::Display for KeyCommand {