MCPcopy
hub / github.com/micro-editor/micro / ShowCursor

Function ShowCursor

internal/screen/screen.go:107–113  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

105// if enabled or using the terminal cursor otherwise
106// By default only the windows console will use a fake cursor
107func 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

Callers 3

DisplayMethod · 0.92
showCursorMethod · 0.92
displayBufferMethod · 0.92

Calls 2

UseFakeFunction · 0.85
ShowFakeCursorFunction · 0.85

Tested by

no test coverage detected