Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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) */
220
export
function
eraseToStartOfScreen(): string {
221
return
csi(1,
'J'
)
222
}
223
224
/** Erase entire screen (CSI 2 J) */
225
export
function
eraseScreen(): string {
Callers
nothing calls this directly
Calls
1
csi
Function · 0.85
Tested by
no test coverage detected