Friedrich 'friedɀ' Schwedler and David Peter
585d06293a
Add shell completion ( #251 )
...
* add commandline argument to generate shell completion
* update changelog
* fixup! add commandline argument to generate shell completion
* Update option name and description
---------
Co-authored-by: David Peter <mail@david-peter.de >
2025-08-31 21:39:17 +02:00
Niclas Schwarzlose and David Peter
f2547aed69
Add new braille character table and color schemes ( #247 )
...
* Add new braille character table and color schemes
* Add character for tab and change color for 0x7f
---------
Co-authored-by: David Peter <mail@david-peter.de >
2025-08-31 21:13:57 +02:00
Dan Hipschman
9ef7c346dd
Enable custom colors with environment variables ( #248 )
...
* Enable custom colors with environment variables
* Rename HEXYL_XYZ env vars to HEXYL_COLOR_XYZ
2025-06-16 22:41:37 +02:00
Regis Boudinot
6220cae644
Check if terminal_width is less than offset and return 1 (see #244 ) ( #245 )
2025-06-08 21:35:42 +02:00
David Peter
73cfd05a10
Minor updates
2024-12-27 14:37:04 +01:00
Taylan Sahin
37e9ef6a64
cargo fmt
2024-12-27 14:35:04 +01:00
Taylan Sahin
568f38ae77
PR #229 • Add option to print color table
2024-12-27 14:35:03 +01:00
David Peter
19198c2aac
Minor updates
2024-12-27 14:23:02 +01:00
Integral
c65b298e60
fix: throw an error when try to view a directory
2024-11-21 00:55:37 +08:00
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
David Peter
4bf875095c
Fix NO_COLOR behavior
2023-12-11 20:06:10 +01: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
19f325a691
Implement block character table
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
29e3350e69
Rename CharTable to CharacterTable
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
Tom Milligan
fb49b633b2
lib: created, moved bin
2019-07-17 19:31:37 +02:00
Armin Widegreen
c4028bb213
Consider color when printing squeeze indicator
...
When color option has been set to never, the squeeze indicator
character asterisk '*' should not be printed in color.
Fixes #63
2019-05-30 15:29:37 +02:00
sharkdp
a2ea80e960
Use u8/usize directly without references
2019-04-13 18:32:59 +02:00
sharkdp
3390bedee9
Update to Rust 2018
2019-04-13 18:27:21 +02:00
Armin Widegreen
6978f7a277
Adds squeeze support
...
The squeeze feature is implement as for hexdump. Reoccurring lines will
be squeezed together and visualized with an asterisk. Further hexyl
received an additional command line argument '-v|--no-squeezing' to
disable squeezing. Squeezing is enabled by default.
If the squeezing goes until the end of the input data, an empty line
with address next to last line will be printed to indicate the highest
address (again similar to hexdump).
2019-04-13 18:19:15 +02:00
sharkdp
2c7c857ccc
Fix left border
2019-04-08 22:52:06 +02:00
sharkdp
55adb2db2c
Make sure to always print the header
2019-04-08 21:34:32 +02:00
sharkdp
3a62809c8c
Use separate struct for border elements
2019-04-08 21:23:09 +02:00
sharkdp
7cc0b51537
cargo fmt
2019-04-08 21:20:45 +02:00
sharkdp
8363e3f37e
Fix typo
2019-04-08 21:16:06 +02:00
Dominik Menke
07c222947d
Implement various --border styles
2019-04-08 20:26:30 +02:00
Mikaela Szekely
6a848b14f8
Allow passing length in hex with 0x notation
2019-03-09 07:41:52 +01:00
selfup
c6c4dd416e
unhide --bytes/-c - describe alias to --length/-n
2019-02-06 07:35:12 +01:00
Matthew Ziter
f918bfb911
Set printed to true after printing header
2019-02-06 07:31:33 +01:00
Matthew Ziter
10e3535999
Fixes #47 with header printing before data in some scenarios
2019-02-06 07:31:33 +01:00
selfup
8725f8cd25
Refactor Some(length) and change --c/-c to --bytes/-c
2019-02-05 23:15:43 +01:00
selfup
c8e65d7528
Add c long/c short and hide values
2019-02-05 23:15:43 +01:00
selfup
170573fad0
Add --c alias to length cmd
2019-02-05 23:15:43 +01:00
sharkdp
19030470f9
Add proper Ctrl-C handling
2019-01-14 10:40:04 +01:00
sharkdp
b27ab61608
Fix behavior on broken pipe
2019-01-14 10:17:14 +01:00
sharkdp
39a83021dc
Use 16 colors instead of 256
2019-01-14 09:53:33 +01:00
sharkdp
f6f41e76aa
Use --color=always/auto/never instead of --no-color
2019-01-14 09:14:47 +01:00
Bennett Hardwick
74861353fa
Add --no-color flag to disable ANSI sequences
2019-01-14 09:14:47 +01:00
Arnav Borborah
78d8cc516f
Change exit code for help and version messages to 0
2019-01-13 18:35:15 +01:00
arnavb11
faebee7b8c
Move duplicate code out of conditional
2019-01-13 18:03:07 +01:00
arnavb11
92c974d066
Handle clap errors and other errors separately
2019-01-13 18:03:07 +01:00
arnavb11
866feb2966
Refactor error handling into a if-let
2019-01-13 18:03:07 +01:00