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

Method Right

cursor_windows.go:22–24  ·  view source on GitHub ↗

Right moves the cursor n characters to the right relative to the current position.

(n int)

Source from the content-addressed store, hash-verified

20
21// Right moves the cursor n characters to the right relative to the current position.
22func (c *Cursor) Right(n int) {
23 c.move(n, 0)
24}
25
26// Left moves the cursor n characters to the left relative to the current position.
27func (c *Cursor) Left(n int) {

Callers

nothing calls this directly

Calls 1

moveMethod · 0.95

Tested by

no test coverage detected