refactor: keyboard listen and grab && fix shift + scroll

This commit is contained in:
Asura
2022-10-30 05:44:33 -07:00
committed by Chieh Wang
parent eec5c16876
commit 996a317b57
9 changed files with 208 additions and 122 deletions

View File

@@ -404,6 +404,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 || {
// if flutter : disable keyboard listen
crate::client::disable_keyboard_listening();
io_loop(session);
});