Callum Pick
Callum Pick

Reputation: 1

Clear Lua Output

I'm working on a project where you can be transported to an instructions page.

I am using a site called tutorialspoint and I am on Windows 10.

I need to be able the clear the terminal for a project, Is there a way to?

I tried a few commands like os.execute("clear") but it didn't work.

Upvotes: 0

Views: 85

Answers (1)

Diogo Silva
Diogo Silva

Reputation: 9

If you use Windows:

os.execute("cls")

On Unix:

os.execute("clear")

but I do recommend you read it: post

Upvotes: 0

Related Questions