labyrinth-cs-proj/maze/modules/__init__.py

16 lines
272 B
Python
Raw Normal View History

2022-11-02 20:02:13 +00:00
import curses
2022-11-27 17:59:24 +00:00
import sys
2022-11-02 20:02:13 +00:00
2022-11-04 11:25:22 +00:00
from maze.modules.maze import main
2022-11-02 20:04:30 +00:00
2022-11-02 20:02:13 +00:00
def bruh():
2022-11-27 17:59:24 +00:00
try:
curses.wrapper(main)
curses.nocbreak()
curses.echo()
curses.endwin()
except KeyboardInterrupt:
print("\n\n\nTerminating...")
sys.exit()