MCPcopy Index your code
hub / github.com/codeaashu/claude-code / cursorBack

Function cursorBack

src/ink/termio/csi.ts:144–146  ·  view source on GitHub ↗
(n = 1)

Source from the content-addressed store, hash-verified

142
143/** Move cursor back n columns (CSI n D) */
144export function cursorBack(n = 1): string {
145 return n === 0 ? '' : csi(n, 'D')
146}
147
148/** Move cursor to column n (1-indexed) (CSI n G) */
149export function cursorTo(col: number): string {

Callers 1

cursorMoveFunction · 0.85

Calls 1

csiFunction · 0.85

Tested by

no test coverage detected