Terminal control/Hiding the cursor: Difference between revisions
Terminal control/Hiding the cursor (view source)
Revision as of 12:00, 13 February 2024
, 3 months ago→{{header|Wren}}: Changed to Wren S/H
m (→{{header|Wren}}: Changed to Wren S/H) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 105:
T%=TIME+400:REPEAT UNTIL TIME>T%
VDU 23,1,1;0;0;0; : REM Show the cursor again</syntaxhighlight>
==={{header|True BASIC}}===
<syntaxhighlight lang="qbasic">SET CURSOR "off"
PAUSE 2 !Pause 2 seconds
SET CURSOR "on"
END</syntaxhighlight>
=={{header|Befunge}}==
Line 222 ⟶ 228:
cursoron
</syntaxhighlight>
=={{header|FreeBASIC}}==
<syntaxhighlight lang="vb">Locate , , 0 'Hide the cursor
Sleep 500 'waiting half second or a keypress...
Locate , , 1 'Show the cursor again
Sleep</syntaxhighlight>
=={{header|Go}}==
Line 613 ⟶ 628:
=={{header|Wren}}==
{{trans|Go}}
<syntaxhighlight lang="
System.print("\e[?25l")
|