Created
March 7, 2021 15:04
-
-
Save hoelzro/219e906ce524d090fc32203d561bf88a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local term = require 'term' | |
term.cursor.save() | |
for i = 1, 10 do | |
term.cleareol() | |
term.cursor.restore() | |
io.stdout:write(tostring(i)) | |
io.stdout:flush() | |
os.execute 'sleep 1' | |
end | |
print '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment