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.
Who's Online
Recent Visitors
Chris Jacobs
Thursday, November 21, 2024 05:01:30
from
Almere Netherlands
via
Telnet
Apam
Thursday, November 21, 2024 02:46:45
from
Toowoomba, Qld
via
Telnet
Chris Jacobs
Wednesday, November 20, 2024 18:44:02
from
Almere Netherlands
via
Telnet
Chris Jacobs
Wednesday, November 20, 2024 14:45:36
from
Almere Netherlands
via
Telnet