[−][src]Function meli::terminal::get_events
pub fn get_events(
closure: impl FnMut((Key, Vec<u8>)),
rx: &Receiver<InputCommand>,
new_command_fd: RawFd,
working: Arc<()>
)
The thread function that listens for user input and forwards it to the main event loop.