You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix loading bar persisting on screen after task completion
Ink 6's unmount flow renders a final frame before the React tree clears,
leaving stale loading bar output on screen. The component's null render
from setIsDone(true) hasn't committed yet due to throttled rendering.
Add an eraseOnExit option to the render() wrapper that intercepts stdout
writes to track the maximum output height, then erases that many lines
after the Ink instance exits. Applied to renderTasks and renderSingleTask.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments