I\'m making my first Lua program with the console, and I need to find out how to remove all the text in the console without just appending a ton of \\n\'s.
You can use os.execute().
os.execute()
On Windows:
os.execute("cls")
On Unix:
os.execute("clear")