Jump to content

Spinning rod animation/Text: Difference between revisions

Line 241:
 
END { print "\e[?25h\n" } # clean up on exit</lang>
 
=={{header|Phix}}==
<lang Phix>puts(1,"please_wait... ")
cursor(NO_CURSOR)
for i=1 to 10 do -- (approx 10 seconds)
for j=1 to 4 do
printf(1," \b%c\b",`|/-\`[j])
sleep(0.25)
end for
end for
puts(1," \ndone") -- clear rod, "done" on next line
</lang>
 
=={{header|Python}}==
7,830

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.