sharkdp / hexyl

A command-line hex viewer
Apache License 2.0
8.92k stars 227 forks source link

Add pure ASCII character table #212

Closed sharkdp closed 6 months ago

sharkdp commented 6 months ago

This leverages the --character-table feature from #195 by @sharifhsn to solve #36. It adds a new --character-table=ascii option ("ascii-only" was previously renamed to "default") that is similar to the character table used by hexdump/xxd.

This can be used in combination with --border=none or --border=ascii to only show printable ASCII characters on the terminal:

image

closes #36