feat(config): disable toggle_key by default. Fix #916

This commit is contained in:
Federico Terzi 2021-12-27 18:33:42 +01:00
parent 8d0efc6436
commit a9f4cc1edf

View File

@ -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
}
}
}