diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-19 22:12:26 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-19 22:12:26 +0300 |
| commit | b26212975b8db9a19181cb544ea712060c319607 (patch) | |
| tree | 4d02cd048b6c4c5ff8b14a17f402113b941ba515 /internal/errors/errors.go | |
| parent | 7ff8beef11fa664d5d07c8701935553046640b99 (diff) | |
Fix doubled colored output in dcat/dgrep by removing server-side coloring
Server should never send colored output - all colorization should happen
on the client side. This fix removes the colorization logic from the
server-side processors (catprocessor.go and grepprocessor.go).
Changes:
- Remove brush.Colorfy() calls from server-side processors
- Remove color-related imports and fields
- Update dlog.Raw() documentation to reflect server sends plain output
- Client-side coloring remains intact via dlog.Raw()
This ensures proper separation of concerns and prevents doubled ANSI
escape sequences in the output.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'internal/errors/errors.go')
0 files changed, 0 insertions, 0 deletions
