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

Function ShowFakeCursorMulti

internal/screen/screen.go:99–102  ·  view source on GitHub ↗

ShowFakeCursorMulti is the same as ShowFakeCursor except it does not reset previous locations of the cursor Fake cursors are also necessary to display multiple cursors

(x, y int)

Source from the content-addressed store, hash-verified

97// reset previous locations of the cursor
98// Fake cursors are also necessary to display multiple cursors
99func ShowFakeCursorMulti(x, y int) {
100 r, _, _, _ := Screen.GetContent(x, y)
101 Screen.SetContent(x, y, r, nil, config.DefStyle.Reverse(true))
102}
103
104// ShowCursor puts the cursor at the given location using a fake cursor
105// if enabled or using the terminal cursor otherwise

Callers 1

showCursorMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected