Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codeaashu/claude-code
/ scrollUp
Function
scrollUp
src/ink/termio/csi.ts:255–257 ·
view source on GitHub ↗
(n = 1)
Source
from the content-addressed store, hash-verified
253
254
/** Scroll up n lines (CSI n S) */
255
export
function
scrollUp(n = 1): string {
256
return
n === 0 ?
''
: csi(n,
'S'
)
257
}
258
259
/** Scroll down n lines (CSI n T) */
260
export
function
scrollDown(n = 1): string {
Callers
nothing calls this directly
Calls
1
csi
Function · 0.85
Tested by
no test coverage detected