This commit is contained in:
Timon 2023-04-23 12:42:31 +02:00
parent 666cf1a420
commit 120303c620
2 changed files with 4 additions and 3 deletions

View File

@ -611,7 +611,7 @@ bitflags! {
}
/// Represents a keyboard event kind.
///
///
/// Enable `event-kind` feature to get release events on windows, and on unix when kitty-protocol is enabled and `KeyboardEnhancementFlags::REPORT_EVENT_TYPES` is set.
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, PartialOrd, PartialEq, Eq, Clone, Copy, Hash)]

View File

@ -1,8 +1,9 @@
use std::io;
use crate::event::{
Event, KeyCode, KeyEvent, KeyEventKind::Release,, KeyEventState, KeyModifiers, KeyboardEnhancementFlags,
MediaKeyCode, ModifierKeyCode, MouseButton, MouseEvent, MouseEventKind,
Event, KeyCode, KeyEvent, KeyEventKind::Release, KeyEventState, KeyModifiers,
KeyboardEnhancementFlags, MediaKeyCode, ModifierKeyCode, MouseButton, MouseEvent,
MouseEventKind,
};
use super::super::super::InternalEvent;