#[derive(Clone, Debug)]
pub struct KeyDownEvent {
pub key: String,
pub code: String,
pub alt_key: bool,
pub ctrl_key: bool,
pub shift_key: bool,
pub meta_key: bool,
}
impl std::fmt::Display for KeyDownEvent {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "KeyDownEvent={}", self.key)
}
}