* 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)
| 217 | * prevScreen content during pure scroll, avoiding full child re-render. |
| 218 | */ |
| 219 | shift(top: number, bottom: number, n: number): void { |
| 220 | this.operations.push({ type: 'shift', top, bottom, n }) |
| 221 | } |
| 222 | |
| 223 | /** |
| 224 | * Clear a region by writing empty cells. Used when a node shrinks to |
no test coverage detected