Anonymous user
Terminal control/Hiding the cursor: Difference between revisions
Terminal control/Hiding the cursor (view source)
Revision as of 00:51, 10 September 2018
, 5 years agoAdded nim implementation.
SqrtNegInf (talk | contribs) (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}}==
|