https://gitlab.synchro.net/main/sbbs/-/commit/b2f91e77c1bdee3a393fc3708743a10a65ce5b1a#note_2706
The proper way to restore global settings (such as the ctrl-key pass-through) is via `js.on_exit()`. See exec/*.js for plenty of examples, e.g. during script init,
```
js.on_exit("console.ctrlkey_passthru = " + console.ctrlkey_passthru);
```
This way, if your script ends abnormally, the original ctrlkey-passthrough setting is still restored correctly. No cached/global variable is needed when using this method.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net