MCPcopy Index your code
hub / github.com/MiniMax-AI/cli / cursorUp

Function cursorUp

src/commands/text/repl.ts:17–17  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

15// ---------------------------------------------------------------------------
16
17function cursorUp(n: number): string { return `\x1b[${n}A`; }
18function cursorDown(n: number): string { return `\x1b[${n}B`; }
19function cursorCol(n: number): string { return `\x1b[${n}G`; }
20function clearLine(): string { return '\x1b[2K'; }

Callers 1

renderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected