Can this trap Windows exit (X) button ?
I saw in Issue #19 you were able to trap some additional OS-level functionality.
Is it possible to extend this a bit more to handle the "X" button that exits an application?

Hey there! At the time of previous releases, there wasn't a straightforward API to intercept that. But the VSCode team is about to ship a native "confirm before quit" popup that will probably address that. I'll do some experimentation to see if this extension might benefit from it somehow.
That's great to hear about the app itself handling it. It sounds trivial, but the number of times muscle memory takes over and sees the X and says "CLICK HERE!!"... yeah :)