This commit is contained in:
sxyazi 2023-09-18 07:52:33 +08:00
parent 3ee8ef8547
commit 95ffdd7861
No known key found for this signature in database

View file

@ -43,9 +43,7 @@ impl Key {
}
impl Default for Key {
fn default() -> Self {
Self { code: KeyCode::Null, shift: false, ctrl: false, alt: false }
}
fn default() -> Self { Self { code: KeyCode::Null, shift: false, ctrl: false, alt: false } }
}
impl From<KeyEvent> for Key {