fix(core): Fix XTerm patch on Linux

This commit is contained in:
Federico Terzi 2021-08-03 19:15:19 +02:00
parent 65e1a9aaf3
commit 378152e565

View File

@ -19,6 +19,8 @@
use std::sync::Arc; use std::sync::Arc;
use espanso_config::config::Backend;
use crate::patch::patches::{PatchedConfig, Patches}; use crate::patch::patches::{PatchedConfig, Patches};
use crate::patch::PatchDefinition; use crate::patch::PatchDefinition;
@ -32,10 +34,11 @@ pub fn patch() -> PatchDefinition {
base, base,
name, name,
Patches { Patches {
paste_shortcut: Some(Some("CTRL+SHIFT+V".to_string())), disable_x11_fast_inject: Some(true),
backend: Some(Backend::Inject),
..Default::default() ..Default::default()
}, },
)) ))
}, },
} }
} }