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

Function UpAndClear

utils.go:111–114  ·  view source on GitHub ↗

UpAndClear moves the cursor up by n lines, then clears the line.

(n int)

Source from the content-addressed store, hash-verified

109
110// UpAndClear moves the cursor up by n lines, then clears the line.
111func UpAndClear(n int) {
112 Up(n)
113 ClearLine()
114}
115
116// DownAndClear moves the cursor down by n lines, then clears the line.
117func DownAndClear(n int) {

Callers 1

ClearLinesUpFunction · 0.85

Calls 2

UpFunction · 0.85
ClearLineFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…