fix: sanitize characters in log output to prevent garbled log screen#116
fix: sanitize characters in log output to prevent garbled log screen#116craigmayhew wants to merge 1 commit intomithun50:mainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughANSI escape sequences are now stripped from incoming log strings in the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Summary
This PR sanitizes the log entries. This in turn improves the readability of the log view in the app. As a by-product it is also a micro optimization for memory usage.
[90m)Summary by cubic
Sanitizes log output by stripping ANSI escape codes to prevent garbled characters in the log screen and improve readability. URL detection now runs on the sanitized text, with a slight memory win.
Written for commit 86ac28b. Summary will update on new commits.
Summary by CodeRabbit