@ -75,7 +75,7 @@ def main():
# TODO: customizable bindings!
if len(categories) > 10:
raise NotImplementedError('Too many categories, cannot automatically assign keybindings.')
bindings = {pg.key.key_code(str(key)): cat for key, cat in zip(range(1, 10+1), categories)}
bindings = {pg.key.key_code(str(key % 10)): cat for key, cat in zip(range(1, 10+1), categories)}
escape_char = pg.K_ESCAPE
result = {k: [] for k in categories}