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

Function cursorPosition

src/ink/termio/csi.ts:157–159  ·  view source on GitHub ↗
(row: number, col: number)

Source from the content-addressed store, hash-verified

155
156/** Move cursor to row, col (1-indexed) (CSI row ; col H) */
157export function cursorPosition(row: number, col: number): string {
158 return csi(row, col, 'H')
159}
160
161/** Move cursor to home position (CSI H) */
162export const CURSOR_HOME = csi('H')

Callers 2

makeAltScreenParkPatchFunction · 0.50
onRenderMethod · 0.50

Calls 1

csiFunction · 0.85

Tested by

no test coverage detected