From 0e29fa02995273bfd803aea48773cbe52a7366ed Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Sat, 23 Mar 2024 13:08:14 -0400 Subject: Rework actions and events + start statusbar --- src/keys/key_commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/keys/key_commands.rs') 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, + pub action: AppAction, } impl std::fmt::Display for KeyCommand { -- cgit v1.2.3