Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codeaashu/claude-code
/ eraseToStartOfLine
Function
eraseToStartOfLine
src/ink/termio/csi.ts:202–204 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
200
201
/** Erase from cursor to start of line (CSI 1 K) */
202
export
function
eraseToStartOfLine(): string {
203
return
csi(1,
'K'
)
204
}
205
206
/** Erase entire line (CSI 2 K) */
207
export
function
eraseLine(): string {
Callers
nothing calls this directly
Calls
1
csi
Function · 0.85
Tested by
no test coverage detected