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

Method Up

cursor_windows.go:12–14  ·  view source on GitHub ↗

Up moves the cursor n lines up relative to the current position.

(n int)

Source from the content-addressed store, hash-verified

10
11// Up moves the cursor n lines up relative to the current position.
12func (c *Cursor) Up(n int) {
13 c.move(0, -n)
14}
15
16// Down moves the cursor n lines down relative to the current position.
17func (c *Cursor) Down(n int) {

Callers

nothing calls this directly

Calls 1

moveMethod · 0.95

Tested by

no test coverage detected