I am having a few issues stopping my operating system Arc OS terminating on incorrect command, the issue is the code of stopping this happening I already have Arc OS to ignore ctrl +t but the terminate on wrong command I cant seem to rectify I've tried using the os.pullEventRaw() but upon adding that code it completely stops the os working or even boot it throws out an error.
What I need is to make the OS stop terminating until the reboot or shutdown command is given and if possible adding in a terminate command to stop the program when the user types terminate in the terminal but its a little harder than I had anticipated.
Any help would be greatly appreciated.
Kind Regards
AoD