window:179: bad argument: string expected, got nil
Then it shuts down after a button press. What's weird is that there's nothing at the part of my program where it detects the click that would warrant that error (to my understanding), as that error is usually for entering an invalid argument for term.setBackgroundColor().
Here's the link for the paste. The line that detects the button press on 'close' is line 223. Please help!
Edited by EldidiStroyrr, 20 September 2016 - 03:49 PM.











