enter to select

This commit is contained in:
Felix Pankratz 2024-05-18 15:46:30 +02:00
parent f01fae27d7
commit 23c254a180

View File

@ -88,6 +88,8 @@ class BingoBoard(Widget):
self.cursor_x -= 1 if self.cursor_x > 0 else 0
case 'right':
self.cursor_x += 1 if self.cursor_x < 4 else 0
case 'enter':
fields[self.fieldnum_from_cursor()].on_click()
fields[self.fieldnum_from_cursor()].set_highlighted(True)