r/lua • • Sep 26 '26

Help Can you delete output in Lua?

Just asking, cuz I wanna make a wordle game but dunno if I could delete stuff in the console. And if you can't, why not? A lot of languages like C++ have ways such as escape sequences to overwrite lines with spaces. Does Lua have a way?

10 Upvotes

9 comments sorted by

View all comments

1

u/Spacedestructor Sep 27 '26

the escape codes you described come from the terminal, not the programming language.
as such any language of your choice can use them.