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

Method StartOfLineUp

area.go:114–117  ·  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

112
113// StartOfLineUp moves the cursor up by n lines, then moves to cursor to the start of the line.
114func (area *Area) StartOfLineUp(n int) {
115 area.Up(n)
116 area.StartOfLine()
117}
118
119// UpAndClear moves the cursor up by n lines, then clears the line.
120func (area *Area) UpAndClear(n int) {

Callers

nothing calls this directly

Calls 2

UpMethod · 0.95
StartOfLineMethod · 0.95

Tested by

no test coverage detected