private void HandleEvent(KeyPressEvent eve)
 {
     if (eve.Keys == null)
     {
         return;
     }
     BindingsKeyPress.TryGetValue(eve.Keys, out var act);
     act?.Invoke();
 }
 public void BindKeyPress(KeyModifier modifiers, char key, Action action)
 {
     BindingsKeyPress.Add(new KeyEventArguments {
         KeyPressed = key, Modifiers = modifiers
     }, action);
 }