* Re-enter alt-screen, clear, home, re-enable mouse tracking, and reset * frame buffers so the next render repaints from scratch. Self-heal for * SIGCONT, resize, and stdin-gap/event-loop-stall (sleep/wake) — any of * which can leave the terminal in main-screen mode while altScreenActive
()
| 962 | * stays true. ENTER_ALT_SCREEN is a terminal-side no-op if already in alt. |
| 963 | */ |
| 964 | private reenterAltScreen(): void { |
| 965 | this.options.stdout.write(ENTER_ALT_SCREEN + ERASE_SCREEN + CURSOR_HOME + (this.altScreenMouseTracking ? ENABLE_MOUSE_TRACKING : '')); |
| 966 | this.resetFramesForAltScreen(); |
| 967 | } |
| 968 | |
| 969 | /** |
| 970 | * Seed prev/back frames with full-size BLANK screens (rows×cols of empty |
no test coverage detected