Terminal control/Hiding the cursor: Difference between revisions

Added Kotlin
m (Whoops, misinterpreted "cursor".)
(Added Kotlin)
Line 191:
smoutput SHOWCURSOR
</lang>
 
=={{header|Kotlin}}==
{{Works with|Ubuntu|14.04}}
<lang scala>// version 1.1.1
 
fun main(args: Array<String>) {
print("\u001B[?25l") // hide cursor
Thread.sleep(2000) // wait 2 seconds before redisplaying cursor
print("\u001B[?25h") // display cursor
Thread.sleep(2000) // wait 2 more seconds before exiting
}</lang>
 
=={{header|Lasso}}==
9,482

edits