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