Function termit::input::terminal_input_stream
source · pub fn terminal_input_stream<'a, A: AppEvent>(
control: impl Control + 'a,
reader: impl AsyncRead + 'a,
raw_mode: bool
) -> impl Stream<Item = Result<Event<A>>> + 'aExpand description
Terminal input stream decodes ANSI sequences and content and includes window resize events
It will not do much of resizing without a control FD/Handle that can report it.
The raw_mode param will treat \r \n slightly differently.