Terminal control/Hiding the cursor: Difference between revisions
Content added Content deleted
m (sorry for (accidentally) messing up ...) |
|||
Line 278: | Line 278: | ||
EndIf </lang> |
EndIf </lang> |
||
<b>PB v5.60</b> |
Tested with <b>PB v5.60</b> |
||
<lang PureBasic>Procedure HideCursor () |
<lang PureBasic>Procedure HideCursor () |
||
Line 285: | Line 285: | ||
Procedure ShowCursor (CursorHeight.b = 1) |
Procedure ShowCursor (CursorHeight.b = 1) |
||
If |
If CursorHeight > 10 : CursorHeight = 10 : EndIf |
||
If CursorHeight < 1 : CursorHeight = 1 : EndIf |
If CursorHeight < 1 : CursorHeight = 1 : EndIf |
||
ConsoleCursor(CursorHeight) |
ConsoleCursor(CursorHeight) |