Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pure ASCII character table #212

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Add pure ASCII character table #212

merged 1 commit into from
Dec 11, 2023

Conversation

sharkdp
Copy link
Owner

@sharkdp sharkdp commented Dec 11, 2023

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

@sharkdp sharkdp merged commit 7a9234c into master Dec 11, 2023
14 checks passed
@sharkdp sharkdp deleted the add-ascii-character-table branch December 11, 2023 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Output layout is broken in CJK environment
1 participant