Terminal control/Hiding the cursor: Difference between revisions

Added nim implementation.
(Added Perl example)
(Added nim implementation.)
Line 243:
}
}</lang>
 
=={{header|Nim}}==
 
<lang nim>import terminal
 
echo "Cursor hidden. Press a key to show the cursor and exit."
stdout.hideCursor()
discard getCh()
stdout.showCursor()
</lang>
 
=={{header|Perl}}==
Anonymous user