MCPcopy Create free account
hub / github.com/atomicgo/cursor / StartOfLineUp

Function StartOfLineUp

utils.go:105–108  ·  view source on GitHub ↗

StartOfLineUp moves the cursor up by n lines, then moves to cursor to the start of the line.

(n int)

Source from the content-addressed store, hash-verified

103
104// StartOfLineUp moves the cursor up by n lines, then moves to cursor to the start of the line.
105func StartOfLineUp(n int) {
106 Up(n)
107 StartOfLine()
108}
109
110// UpAndClear moves the cursor up by n lines, then clears the line.
111func UpAndClear(n int) {

Callers

nothing calls this directly

Calls 2

UpFunction · 0.85
StartOfLineFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…