disabled ctrl+c

modified:   main.py
This commit is contained in:
OusmBlueNinja 2023-08-26 22:34:08 -05:00
parent 1e79fbd435
commit 1e803d87ca

View File

@ -9,6 +9,13 @@ import ast
if os.name != "nt": if os.name != "nt":
import readline import readline
import threading import threading
import signal
def handler(signum, frame):
return
# Set the signal handler
signal.signal(signal.SIGINT, handler)