sharkdp / hexyl

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

Remove additional space found on short input #71

Closed nalshihabi closed 5 years ago

nalshihabi commented 5 years ago

Addresses #69

So looking at the case it seemed that in the formatting code there was just a space included at the end extra, so I changed for it to be no extra space. This required also that the test short_input_passes also be changed to reflect that there should be no extra space (otherwise it would currently fail without the extra space).

sharkdp commented 5 years ago

Looks good, thank you very much!