1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-10 15:04:32 +03:00
This commit is contained in:
Wez Furlong 2022-07-31 17:58:41 -07:00
parent 0d51a9c444
commit b72ff966a1

View File

@ -157,7 +157,7 @@ impl FromDynamic for MouseEventAltScreen {
match value {
Value::Bool(true) => Ok(Self::True),
Value::Bool(false) => Ok(Self::False),
Value::String(s) if s == "Both" => Ok(Self::Any),
Value::String(s) if s == "Any" => Ok(Self::Any),
_ => Err(DynError::Message(
"must be either true, false or 'Any'".to_string(),
)),