Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
![](https://img.shields.io/crates/v/hexyl.svg?colorB=00aa88)

`hexyl` is a hex viewer for the terminal. It uses a colored output to distinguish different categories
of bytes (NULL bytes, printable ASCII characters, ASCII whitespace characters, other ASCII characters and non-ASCII).
of bytes (NULL bytes, 7-bit printable ASCII, ASCII whitespace, other 7-bit ASCII, and non-ASCII bytes 0x80–0xFF).

## Preview

Expand Down
4 changes: 2 additions & 2 deletions doc/hexyl.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ hexyl - a command-line hex viewer

**hexyl** is a simple hex viewer for the terminal.
It uses a colored output to distinguish different categories of bytes (NULL
bytes, printable ASCII characters, ASCII whitespace characters, other ASCII
characters and non-ASCII).
bytes, 7-bit printable ASCII characters, ASCII whitespace characters, other
7-bit ASCII characters and non-ASCII bytes (0x80–0xFF).

# POSITIONAL ARGUMENTS

Expand Down
8 changes: 5 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ pub enum IncludeMode {
#[derive(Copy, Clone, Debug, Default, ValueEnum)]
#[non_exhaustive]
pub enum CharacterTable {
/// Show printable ASCII characters as-is, '⋄' for NULL bytes, ' ' for
/// space, '_' for other ASCII whitespace, '•' for other ASCII characters,
/// and '×' for non-ASCII bytes.
/// Show 7-bit printable ASCII (0x20–0x7E) as-is, '⋄' for NULL bytes, ' '
/// for space, '_' for other ASCII whitespace, '•' for other 7-bit control
/// characters, and '×' for non-ASCII bytes (0x80–0xFF). Extended/8-bit
/// "ASCII" code pages are not shown as glyphs here; use `codepage-437`
/// (or another table) if you need that.
#[default]
Default,

Expand Down
Loading