by ptx · 6y ago · 0 comments
What's the deal with the alternator function (in app.js)? Why should keypresses be read only on every other attempt?
Also, is there some kind of implicit sleep or requestAnimationFrame somewhere? Or is it busy-looping and polling for key presses as fast as it can?
This is just a hack around that to simulate entering a value and then pressing escape on the next prompt request