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

Function csi

src/ink/termio/csi.ts:45–51  ·  view source on GitHub ↗
(...args: (string | number)[])

Source from the content-addressed store, hash-verified

43 * Multiple args: last is final byte, rest are params joined by ;
44 */
45export function csi(...args: (string | number)[]): string {
46 if (args.length === 0) return CSI_PREFIX
47 if (args.length === 1) return `${CSI_PREFIX}${args[0]}`
48 const params = args.slice(0, -1)
49 const final = args[args.length - 1]
50 return `${CSI_PREFIX}${params.join(SEP)}${final}`
51}
52
53/**
54 * CSI final bytes - the command identifier

Callers 15

clearTerminal.tsFile · 0.85
decrqmFunction · 0.85
da1Function · 0.85
da2Function · 0.85
kittyKeyboardFunction · 0.85
cursorPositionFunction · 0.85
xtversionFunction · 0.85
decsetFunction · 0.85
decresetFunction · 0.85
cursorUpFunction · 0.85
cursorDownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected