termion::event

Function parse_event

Source
pub fn parse_event<I>(item: u8, iter: &mut I) -> Result<Event, Error>
where I: Iterator<Item = Result<u8, Error>>,
Expand description

Parse an Event from item and possibly subsequent bytes through iter.