@@ -181,7 +181,7 @@ class KeyboardKey:
@property
def enter(self) -> bool:
"""Whether the key is the enter key."""
- return self.name == 'enter'
+ return self.name == 'Enter'
def shift(self) -> bool: