Terminal control/Hiding the cursor: Difference between revisions

m
m (sorry for (accidentally) messing up ...)
Line 278:
EndIf </lang>
 
Tested with <b>PB v5.60</b>
 
<lang PureBasic>Procedure HideCursor ()
Line 285:
 
Procedure ShowCursor (CursorHeight.b = 1)
If CursorheightCursorHeight > 10 : CursorheightCursorHeight = 10 : EndIf
If CursorHeight < 1 : CursorHeight = 1 : EndIf
ConsoleCursor(CursorHeight)
6

edits