ShowCursor puts the cursor at the given location using a fake cursor if enabled or using the terminal cursor otherwise By default only the windows console will use a fake cursor
(x, y int)
| 105 | // if enabled or using the terminal cursor otherwise |
| 106 | // By default only the windows console will use a fake cursor |
| 107 | func ShowCursor(x, y int) { |
| 108 | if UseFake() { |
| 109 | ShowFakeCursor(x, y) |
| 110 | } else { |
| 111 | Screen.ShowCursor(x, y) |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | // SetContent sets a cell at a point on the screen and makes sure that it is |
| 116 | // synced with the last cursor location |
no test coverage detected