Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codeaashu/claude-code
/ eraseScreen
Function
eraseScreen
src/ink/termio/csi.ts:225–227 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
223
224
/** Erase entire screen (CSI 2 J) */
225
export
function
eraseScreen(): string {
226
return
csi(2,
'J'
)
227
}
228
229
/** Erase entire screen - constant form */
230
export
const
ERASE_SCREEN = csi(2,
'J'
)
Callers
nothing calls this directly
Calls
1
csi
Function · 0.85
Tested by
no test coverage detected