* Shift full-width rows within [top, bottom] by n. n > 0 = up. Mirrors * what DECSTBM + SU/SD does to the terminal. Paired with blit() to reuse * prevScreen content during pure scroll, avoiding full child re-render.
(top: number, bottom: number, n: number)
| 258 | * prevScreen content during pure scroll, avoiding full child re-render. |
| 259 | */ |
| 260 | shift(top: number, bottom: number, n: number): void { |
| 261 | this.operations.push({ type: 'shift', top, bottom, n }) |
| 262 | } |
| 263 | |
| 264 | /** |
| 265 | * Clear a region by writing empty cells. Used when a node shrinks to |
no outgoing calls