I have BTMs which run for a long time and are in visible consoles (so I can monitor output). That provides plenty of opportunity for those TCCs to collect unintended keystrokes (by vitrue of user error). When I terminate such a BTM with Ctrl-C, all the accumulated keystrokes are pumped to the command line. I can avoid it like this
Can you make that easier?
on break ( inkey /c /w0 %%zz & quit )