feat(config): disable toggle_key by default. Fix #916
This commit is contained in:
parent
8d0efc6436
commit
a9f4cc1edf
|
@ -188,13 +188,10 @@ impl Config for ResolvedConfig {
|
|||
Some("left_shift") => Some(ToggleKey::LeftShift),
|
||||
Some("left_meta") | Some("left_cmd") => Some(ToggleKey::LeftMeta),
|
||||
Some("off") => None,
|
||||
None => Some(ToggleKey::Alt),
|
||||
None => None,
|
||||
err => {
|
||||
error!(
|
||||
"invalid toggle_key specified {:?}, falling back to ALT",
|
||||
err
|
||||
);
|
||||
Some(ToggleKey::Alt)
|
||||
error!("invalid toggle_key specified {:?}", err);
|
||||
None
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user