Repository navigation
fix(desktop): preserve terminal history across re-renders - #425
Conversation
When reattaching to an existing terminal session, the previous logic skipped applying scrollback history if there were pending events queued. This caused terminal history loss when using fast-outputting processes like Claude Code, since data would queue during component unmount/remount cycles. The fix always applies the initial scrollback state first, then flushes pending events, ensuring no history is lost on reattach. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Warning Rate limit exceeded@Kitenite has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 10 minutes and 23 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
When reattaching to an existing terminal session, the previous logic skipped applying scrollback history if there were pending events queued. This caused terminal history loss when using fast-outputting processes like Claude Code, since data would queue during component unmount/remount cycles.
The fix always applies the initial scrollback state first, then flushes pending events, ensuring no history is lost on reattach.
🤖 Generated with Claude Code
Description
Related Issues
Type of Change
Testing
Screenshots (if applicable)
Additional Notes