sharkdp / hexyl

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

Skipping past the end of a file should print a warning. #108

Closed eth-p closed 3 years ago

eth-p commented 3 years ago

Similarly to #107, unknowingly skipping past the end of a file and seeing an empty grid might be confusing for users.


Note: I'm doing a class assignment regarding creating tests (from scratch) for an open-source command line program, and I chose hexyl for it. You might have a couple more of these on the way, depending on what the assignment brings to light :)

sharkdp commented 3 years ago

Sounds good!