Difference between revisions of "Term.setCursorBlink"

From ComputerCraft Wiki
Jump to: navigation, search
(Created page with "{{lowercase}} {{Function |name=term.setCursorBlink |args=boolean state |returns=none |api=term |addon=ComputerCraft |desc=Sets whether the cursor is blinking or not. |exam...")
 
(Corrected mapping from "Boolean" to "Boolean (type)")
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{{Function
 
{{Function
 
|name=term.setCursorBlink
 
|name=term.setCursorBlink
|args=[[boolean]] state
+
|args=[[boolean_(type)|boolean]] state
 
|returns=none
 
|returns=none
 
|api=term
 
|api=term
Line 13: Line 13:
 
}}
 
}}
 
}}
 
}}
 +
 +
[[Category:API_Functions]]

Latest revision as of 13:46, 30 November 2012


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)