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