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

Function ClearLine

utils.go:73–75  ·  view source on GitHub ↗

ClearLine clears the current line and moves the cursor to it's start position.

()

Source from the content-addressed store, hash-verified

71
72// ClearLine clears the current line and moves the cursor to it's start position.
73func ClearLine() {
74 cursor.ClearLine()
75}
76
77// Clear clears the current position and moves the cursor to the left.
78func Clear() {

Callers 3

TestCustomIOWriterFunction · 0.85
UpAndClearFunction · 0.85
DownAndClearFunction · 0.85

Calls 1

ClearLineMethod · 0.45

Tested by 1

TestCustomIOWriterFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…