MCPcopy Create free account
hub / github.com/codeaashu/claude-code / eraseToStartOfScreen

Function eraseToStartOfScreen

src/ink/termio/csi.ts:220–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

218
219/** Erase from cursor to start of screen (CSI 1 J) */
220export function eraseToStartOfScreen(): string {
221 return csi(1, 'J')
222}
223
224/** Erase entire screen (CSI 2 J) */
225export function eraseScreen(): string {

Callers

nothing calls this directly

Calls 1

csiFunction · 0.85

Tested by

no test coverage detected