diff --git a/Makefile b/Makefile index 95a292f..b7a66f0 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ debug: uv pdb python3 a_maze_ing.py config.txt clean: - rm -rf */**/__pycache__ */__pycache__ __pycache__ .mypy_cache .venv dist build */**/*.egg-info */*.egg-info *.egg-info test.txt + rm -rf */**/__pycache__ */__pycache__ __pycache__ */.mypy_cache .mypy_cache .venv dist build */**/*.egg-info */*.egg-info *.egg-info test.txt fclean: clean rm mazegen-1.0.0-py3-none-any.whl diff --git a/a_maze_ing.py b/a_maze_ing.py index 1a92bea..0f7c8b8 100644 --- a/a_maze_ing.py +++ b/a_maze_ing.py @@ -474,7 +474,7 @@ class MazeMLX: self.mlx.mlx_loop_hook(self.mlx_ptr, self.draw_image, amazing) self.mlx.mlx_hook(self.win_ptr, 33, 0, self.close_loop, None) self.mlx.mlx_hook( - self.win_ptr, 2, 1 << 0, self.handle_key_press_mteriier, amazing + self.win_ptr, 2, 1 << 0, self.handle_key_press, amazing ) self.mlx.mlx_loop(self.mlx_ptr)