Files
cool_fox/docs
= 3115a291e0 VICTORY_KEYS_UNTIL=<file>: the scripted keys end once the file is there
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>
2026-12-01 19:03:12 +01:00
..