CC-Tweaked/src/main/resources/data/computercraft/lua/rom/programs/fun
Jonathan Coates c489d4bc4f
Fix exiting paint typing "e" in the shell
When exiting paint via the keyboard by typing "Ctrl" then "E"
separately, we consume the "key" event within paint, leaving the shell
to consume "read".

To avoid this, we run a sleep(0) to gobble any other left-over events.

Note, it's generally not enough to run a queueEvent/pullEvent here, as
the char event may not have ended up on the queue yet. Alas, as this
solution is pretty ugly.
2021-06-19 15:13:26 +01:00
..
advanced Fix exiting paint typing "e" in the shell 2021-06-19 15:13:26 +01:00
adventure.lua Merge branch 'master' into mc-1.14.x 2020-05-13 14:04:28 +01:00
dj.lua use arg[0] in all usage printouts (#571) 2020-11-04 14:03:08 +00:00
hello.lua Merge branch 'master' into mc-1.14.x 2020-04-22 09:45:23 +01:00
worm.lua Added Numpad Enter Support in rom lua programs. (#657) 2021-01-07 21:41:04 +00:00