MCPcopy Index your code
hub / github.com/codeaashu/claude-code / setScrollRegion

Function setScrollRegion

src/ink/termio/csi.ts:265–267  ·  view source on GitHub ↗
(top: number, bottom: number)

Source from the content-addressed store, hash-verified

263
264/** Set scroll region (DECSTBM, CSI top;bottom r). 1-indexed, inclusive. */
265export function setScrollRegion(top: number, bottom: number): string {
266 return csi(top, bottom, 'r')
267}
268
269/** Reset scroll region to full screen (DECSTBM, CSI r). Homes the cursor. */
270export const RESET_SCROLL_REGION = csi('r')

Callers 1

renderMethod · 0.85

Calls 1

csiFunction · 0.85

Tested by

no test coverage detected