KeithBrown39423 / Hexdump

The alternative cross-platform hex dumping utility
MIT License
16 stars 0 forks source link

Use std.io.tty for colours #36

Closed PauloCampana closed 4 months ago

PauloCampana commented 4 months ago

Instead of writing ANSI escape codes, still obeys --disable_color and --force_color

pros:

Maybe .bright_black should be changed to .dim instead? Should failure of changing colour result in error logging and program termination or be ignored?

KeithBrown39423 commented 4 months ago

@PauloCampana I messed something up in the merging process, would you be able to recreate the pr?