2023-08-18 16:40:45 +00:00
|
|
|
#
|
|
|
|
# Copyright © 2023 adithyagenie
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
#
|
|
|
|
|
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-30 15:57:28 +00:00
|
|
|
"""Initialising the screen"""
|
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()
|