Conversation
Add ANSI escape sequence to clear line before updating spinner display
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #47 +/- ##
==========================================
- Coverage 87.90% 87.29% -0.61%
==========================================
Files 23 23
Lines 1149 1149
==========================================
- Hits 1010 1003 -7
- Misses 116 123 +7
Partials 23 23
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR fixes a display issue in the spinner component by adding an ANSI escape sequence to properly clear the terminal line before updating the spinner display. This prevents visual artifacts when the spinner message changes to a shorter string.
Changes:
- Added
\033[Kescape sequence to clear the line from cursor to end before printing the spinner frame and message
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Add ANSI escape sequence to clear line before updating spinner display