remove allow forward

This commit is contained in:
Will McGugan
2022-10-18 15:00:37 +01:00
parent f39e3f0420
commit 45b5d4af0a

View File

@@ -121,9 +121,3 @@ class Bindings:
return self.keys[key] return self.keys[key]
except KeyError: except KeyError:
raise NoBinding(f"No binding for {key}") from None raise NoBinding(f"No binding for {key}") from None
def allow_forward(self, key: str) -> bool:
binding = self.keys.get(key, None)
if binding is None:
return True
return not binding.universal