Posted 09 December 2018 - 09:21 AM
Normally if I wanted to get the error of a program if it crashes I would just use pcall, clear everything and print the error. But since I often make use of the window api things get messy sometimes.
My question is: How can I ensure that if the program crashes I
My question is: How can I ensure that if the program crashes I
- Have a completely black screen
- Print the error in orange on the first line
- Have the cursor (input prompt) on the second line
Edited on 09 December 2018 - 08:23 AM