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

Function Down

utils.go:34–40  ·  view source on GitHub ↗

Down moves the cursor n lines down relative to the current position.

(n int)

Source from the content-addressed store, hash-verified

32
33// Down moves the cursor n lines down relative to the current position.
34func Down(n int) {
35 cursor.Down(n)
36
37 if autoheight > 0 {
38 autoheight -= n
39 }
40}
41
42// Right moves the cursor n characters to the right relative to the current position.
43func Right(n int) {

Callers 7

TestHeightChangesFunction · 0.85
TestCustomIOWriterFunction · 0.85
BottomFunction · 0.85
StartOfLineDownFunction · 0.85
DownAndClearFunction · 0.85
MoveFunction · 0.85

Calls 1

DownMethod · 0.45

Tested by 3

TestHeightChangesFunction · 0.68
TestCustomIOWriterFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…