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

Function makeAltScreenParkPatch

src/ink/ink.tsx:61–66  ·  view source on GitHub ↗
(terminalRows: number)

Source from the content-addressed store, hash-verified

59// Cached per-Ink-instance, invalidated on resize. frame.cursor.y for
60// alt-screen is always terminalRows - 1 (renderer.ts).
61function makeAltScreenParkPatch(terminalRows: number) {
62 return Object.freeze({
63 type: 'stdout' as const,
64 content: cursorPosition(terminalRows, 1)
65 });
66}
67export type Options = {
68 stdout: NodeJS.WriteStream;
69 stdin: NodeJS.ReadStream;

Callers 2

constructorMethod · 0.85
InkClass · 0.85

Calls 1

cursorPositionFunction · 0.50

Tested by

no test coverage detected