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

Method showCursor

internal/display/bufwindow.go:372–380  ·  view source on GitHub ↗
(x, y int, main bool)

Source from the content-addressed store, hash-verified

370}
371
372func (w *BufWindow) showCursor(x, y int, main bool) {
373 if w.active {
374 if main {
375 screen.ShowCursor(x, y)
376 } else {
377 screen.ShowFakeCursorMulti(x, y)
378 }
379 }
380}
381
382// displayBuffer draws the buffer being shown in this window on the screen.Screen
383func (w *BufWindow) displayBuffer() {

Callers 1

displayBufferMethod · 0.95

Calls 2

ShowCursorFunction · 0.92
ShowFakeCursorMultiFunction · 0.92

Tested by

no test coverage detected