Disable keyboard listen

This commit is contained in:
Asura
2022-09-13 01:50:22 -07:00
parent a505b73a56
commit 675e199b35
3 changed files with 8 additions and 3 deletions

View File

@@ -328,6 +328,7 @@ pub fn session_start_(id: &str, event_stream: StreamSink<EventToUI>) -> ResultTy
*session.event_stream.write().unwrap() = Some(event_stream);
let session = session.clone();
std::thread::spawn(move || {
crate::client::disable_keyboard_listening();
io_loop(session);
});
Ok(())