mirror of
https://github.com/DoubleGhosty/cool_fox.git
synced 2026-12-06 09:18:36 +00:00
VICTORY_KEYS presses keys at set seconds, focus or not, but a script that wants Enter pressed until the world draws cannot know those seconds: the start screen takes Enter after a time that depends on the cache and the disk, and a press that comes late lands in the world. With this a script has Enter pressed every few seconds and makes the file when it sees the world draw (the window's title has the draws a frame); from then on no scripted key is pressed. The file is looked for only while a key of the script is due. Under Proton on a Wayland desktop this is what lets a measuring run start with nobody at the keyboard: a key sent from outside reaches the title only while its window has the focus. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>