https://gitlab.synchro.net/main/sbbs/-/merge_requests/281#note_3445
The proper way to check for user aborting about (e.g. hitting Ctrl-C) is to check the `console.aborted` property.
The only reason this wouldn't work for your script is because you're putting 'C' (CTRL-C) in the ctrl-key passthrough list. Do you have another use for the Ctrl-C key? If not, then I would recommend letting Synchronet handle Ctrl-C input and use `console.aborted` to see if/when a user has aborted.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net