Terminal control/Hiding the cursor: Difference between revisions
no edit summary
(Scala solution added) |
No edit summary |
||
Line 356:
showing of the cursor is now on
</pre>
=={{header|Ring}}==
<lang ring>
# Project : Terminal control/Hiding the cursor
# Date : 2018/07/15
# Author : Gal Zsolt (~ CalmoSoft ~)
# Email : <calmosoft@gmail.com>
load "stdlib.ring"
# Linux
? "Hide Cursor using tput utility"
system("tput civis") # Invisible
sleep(10)
? "Show Cursor using tput utility"
system("tput cnorm") # Normal
</lang>
=={{header|Ruby}}==
|