fix linux to mac, keyboard input

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-01-05 14:58:38 +08:00
parent 66d50ef55c
commit b723f8472d
5 changed files with 10 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ use std::{io, sync::RwLock, time::Duration};
pub struct Capturer(Display, Box<dyn Recorder>, bool, Vec<u8>);
#[allow(non_upper_case_globals)]
pub const is_cursor_embedded: bool = true;
pub const IS_CURSOR_EMBEDDED: bool = true;
lazy_static::lazy_static! {
static ref MAP_ERR: RwLock<Option<fn(err: String)-> io::Error>> = Default::default();