5b1035792c
Ink does an explicit onRender() with isUnmounting=true before unmount (ink.tsx:755-761), which triggers clearTerminal for fullscreen apps. vue-tui's teardown() was nulling scheduledCommit before unmount, making shouldClearOnUnmount dead code. Now calls commit() synchronously before disabling the scheduler, matching Ink's unmount render behavior. Restores 2 erase PTY tests that were incorrectly attributed to a React vs Vue rendering difference. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>