term.setCursorBlink

From ComputerCraft Wiki
Revision as of 13:46, 30 November 2012 by AfterLifeLochie (Talk | contribs) (Corrected mapping from "Boolean" to "Boolean (type)")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Grid Redstone.png  Function term.setCursorBlink
Sets whether the cursor is blinking or not.
Syntax term.setCursorBlink(boolean state)
Returns none
Part of ComputerCraft
API term

Examples

Grid paper.png  Example
Makes the cursor blink for 3 seconds, then not blink for 3 seconds.
Code
term.setCursorBlink(true)
sleep(3)
term.setCursorBlink(false)
sleep(3)