v1gnesh
120cf29adf
Add codepage 1047 for EBCDIC
2024-08-04 15:18:38 +05:30
Shun Sakai
f8b87cc5e2
Change help output
...
Even if `-h` is specified, other than the first sentence will also be
printed.
2024-07-02 18:23:30 +09:00
Shun Sakai
252a6dbef4
Rewrite CLI using derive API
2024-07-01 22:39:28 +09:00
David Peter
45fa72ec3b
Add ASCII character table
...
closes #36
2023-12-11 23:22:36 +01:00
David Peter
711627bfe8
Rename ascii-only to 'default', as it is not only ASCII
2023-12-11 23:00:49 +01:00
Sharif Haason
33d5b4dbda
Flush output on first print for /dev/zero fix
2023-12-11 16:41:26 -05:00
David Peter
4bf875095c
Fix NO_COLOR behavior
2023-12-11 20:06:10 +01:00
David Peter
a78c00b10d
Remove unused character_table field
2023-12-11 19:47:59 +01:00
Sharif Haason
1310b1d19e
Adjust color function to not take character_table as arg
2023-12-11 13:33:44 -05:00
Sharif Haason
a56b3b0c46
Adjust color function to not include character_table
2023-12-11 13:32:46 -05:00
Sharif Haason
7ca00279ed
Correct docs
2023-12-10 13:21:23 -05:00
Sharif Haason
dfb5d57ee7
Remove block coloring option for refactor
2023-12-10 13:21:23 -05:00
Sharif Haason
a0a7d6761f
Refactor color components into new module
2023-12-10 13:21:23 -05:00
Sharif Haason
8d5b355b76
Correct asterisk colorization
2023-12-10 13:21:23 -05:00
Sharif Haason
19f325a691
Implement block character table
2023-12-10 13:21:23 -05:00
Sharif Haason
10ddbbad7d
Use U+FB00 LATIN SMALL LIGATURE FF (ff) for FFh
2023-12-10 13:21:23 -05:00
Sharif Haason
58c8c06317
Clarify use of ␀
2023-12-10 13:21:23 -05:00
sharif and David Peter
78477a90c9
Close quotation in help text
...
Co-authored-by: David Peter <sharkdp@users.noreply.github.com >
2023-12-10 13:21:23 -05:00
Sharif Haason
9362c2313a
Attribute original author of CP437
2023-12-10 13:21:23 -05:00
Sharif Haason
e363f2fdc4
Remove old as_char implementation
2023-12-10 13:21:23 -05:00
Sharif Haason
29e3350e69
Rename CharTable to CharacterTable
2023-12-10 13:21:23 -05:00
Sharif Haason
0c192e979b
Make CharTable non-exhaustive
2023-12-10 13:21:23 -05:00
Sharif Haason
c4f91959ef
Add default value for character table
2023-12-10 13:21:23 -05:00
Sharif Haason
4e66357618
Use hyphens instead of underscores
2023-12-10 13:21:23 -05:00
Sharif Haason
6a230d34a4
Implement character table control and codepage 437 option
2023-12-10 13:21:23 -05:00
Pavel Grigorenko
e1e53335d3
Move tests to a separate #[cfg(test)] module
2023-08-21 16:01:22 +03:00
Sharif Haason
dfad7b3faf
Refactor to avoid code duplication
2023-06-20 10:55:07 -04:00
Sharif Haason
ef9b530d6a
Finish comment
2023-06-20 10:46:48 -04:00
Sharif Haason
a3268b8791
Correctly handle discontinuous input i.e. stdin
2023-06-20 10:45:13 -04:00
David Peter
5f0373184f
Add --characters, change meaning of -C
...
This changes the meaning of `-C` to "show the character panel". The long
version `--no-characters` can still be used to hide the character panel.
closes #187
2023-05-10 22:09:19 +02:00
David Peter
57d18482ba
Add Copy and Clone for Endianness
2023-04-26 14:53:37 +02:00
David Peter
9be018fbb9
Add -e alias for --endianness=little
2023-04-25 09:12:26 +02:00
David Peter
cba717b783
Minor doc comment adjustment
2023-04-25 08:51:31 +02:00
David Peter
580f865c4a
Rename function
2023-04-25 08:50:55 +02:00
David Peter
20450310c9
Help text adjustments, do not require group-size to be present
2023-04-25 08:48:39 +02:00
RinHizakura
b251575d94
Change design for endianness command line option
2023-04-24 23:44:49 +08:00
RinHizakura
58b038af27
Change le to non-abbreviated name little endian
2023-04-24 23:13:28 +08:00
RinHizakura
d703cdfd78
Fix comment error and grammarly
2023-04-24 23:10:25 +08:00
RinHizakura
43f8b92502
Fix test for endianness
2023-04-24 22:59:23 +08:00
RinHizakura
08b903270f
Change endianness from boolean type to enum
2023-04-24 22:59:19 +08:00
David Peter
dd601e4792
Run cargo fmt
2023-04-21 21:28:52 +02:00
RinHizakura
564cf64b1b
Support both little and big endian dump
2023-04-21 21:26:43 +02:00
sharif and David Peter
dfd7bdef49
Update src/bin/hexyl.rs
...
Co-authored-by: David Peter <sharkdp@users.noreply.github.com >
2022-12-07 17:33:35 -05:00
sharif
fd4aee2b85
Merge branch 'master' into owo
2022-12-07 16:51:30 -05:00
Sharif Haason
cf8e7ec079
Revert default color option to always
2022-12-07 16:48:20 -05:00
Sharif Haason
faa9866d11
Change group_bytes to satisfy merge conflict
2022-12-07 16:44:11 -05:00
David Peter
1df35eeb63
Renme --group-bytes to --group-size
...
For `xxd`-compatibility reasons
see #121
2022-12-07 21:50:12 +01:00
David Peter
437a15f3d6
One panel by default is terminal is not wide enough
...
closes #182
2022-12-07 21:35:34 +01:00
David Peter
70fa092df1
Do not fail if output is not a TTY for --panels=auto
...
closes #184
2022-12-07 21:33:20 +01:00
Sharif Haason
b2f0e75ed2
Satisfy clippy
2022-12-06 13:22:34 -05:00