Jummit, on 11 April 2018 - 10:30 AM, said:
Its just you being a quicky, and me being someone who always edits the post like four times.

Sorry! One minor improvement I'd suggest is passing the event to both processes except in a couple of cases (key, key_up, paste, char, terminate, mouse events). This way timers and modem messages will still be processed, but user interaction will not. I see you currently whitelist timers, but it'd probably be better to blacklist the above events instead.
I'd also suggest using table.pack(os.pullEventRaw()) and table.unpack(event, 1, event.n) instead, as these are a little bit more fool-proof when it comes to nil values in events.
Edited by SquidDev, 11 April 2018 - 10:35 AM.