CC-Tweaked/src/main/resources/data/computercraft/lua/rom
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
..
apis Add very simple markdown support to the help viewer (#819) 2021-06-12 19:48:41 +01:00
autorun Add a pre commit hook to lint code 2021-04-28 21:24:27 +01:00
help Add very simple markdown support to the help viewer (#819) 2021-06-12 19:48:41 +01:00
modules Add cc.shell.completion `programWithArgs` completion. (#815) 2021-06-07 22:02:45 +01:00
programs Fix exiting paint typing "e" in the shell 2021-06-19 15:13:26 +01:00
motd.txt Migrate all examples to use tweaked.cc 2021-01-23 14:58:08 +00:00
startup.lua Add cc.shell.completion `programWithArgs` completion. (#815) 2021-06-07 22:02:45 +01:00