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

Method Left

cursor_windows.go:27–29  ·  view source on GitHub ↗

Left moves the cursor n characters to the left relative to the current position.

(n int)

Source from the content-addressed store, hash-verified

25
26// Left moves the cursor n characters to the left relative to the current position.
27func (c *Cursor) Left(n int) {
28 c.move(-n, 0)
29}
30
31func (c *Cursor) move(x int, y int) {
32 handle := syscall.Handle(c.writer.Fd())

Callers

nothing calls this directly

Calls 1

moveMethod · 0.95

Tested by

no test coverage detected