- May 20, 2008
I have an old plugin, GENBREAK, a one-liner ...
It has served me well until lately. When I use it like this (pressing "q"):
it's iffy whether or not I see "foo" (maybe 60/40 in favor of not seeing it). Why is it iffy? And how might I improve GENBREAK so it's reliable in this situation? Thanks.
ON BREAK ( ECHO foo & QUIT ) DO FOREVER DELAY /M 1 SET key=0 INKEY %%key SWITCH %key CASE q GENBREAK ENDSWITCH ENDDO