pub enum Event {
KeyPress(Key),
KeyRepeat(Key),
KeyRelease(Key),
Resize {
height: u16,
width: u16,
},
KeyboardEnhancementFlags(KeyboardEnhancementFlags),
Da1,
Decrpm {
mode: u16,
setting: ModeSetting,
},
UnknownCsi {
parameter_bytes: TinyVec<[u8; 32]>,
intermediate_bytes: TinyVec<[u8; 2]>,
final_byte: u8,
},
UnknownOsc {
data_bytes: TinyVec<[u8; 32]>,
},
}Variants§
KeyPress(Key)
KeyRepeat(Key)
KeyRelease(Key)
Resize
KeyboardEnhancementFlags(KeyboardEnhancementFlags)
Kitty keyboard protocol progressive enhancement flags
https://sw.kovidgoyal.net/kitty/keyboard-protocol/#progressive-enhancement
Da1
Primary device attributes
Decrpm
Report mode
UnknownCsi
Control Sequence Introducer
UnknownOsc
Operating System Command
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more