require "ansi" screen.clear() -- clear terminal cursor.move(12, 40) -- move to (12, 40) os.sleep(2000) cursor.left() -- move left screen.fwrite("+\b") os.sleep(2000) cursor.right() -- move right screen.fwrite("x\b") os.sleep(2000) cursor.up() -- move up screen.fwrite("!\b") os.sleep(2000) cursor.down() -- move down screen.fwrite("?\b") os.sleep(2000) cursor.col() -- move to beginning of line os.sleep(2000) cursor.col(80) -- move to end of line (assuming 80 column terminal) os.sleep(2000) cursor.home() -- move to top left corner os.sleep(2000) cursor.move(24, 80) -- move to bottom right corner (assuming 80 x 24 terminal) os.sleep(2000) screen.clear() -- clear screen again before quitting