Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specify bytes per line? #232

Open
milnak opened this issue Oct 31, 2024 · 2 comments
Open

specify bytes per line? #232

milnak opened this issue Oct 31, 2024 · 2 comments

Comments

@milnak
Copy link

milnak commented Oct 31, 2024

Maybe I'm missing how, but I can't find a way to specify how many bytes per line.

> hexyl .\zipflop.bat
┌────────┬─────────────────────────┬─────────────────────────┬────────┬────────┐
│00000000│ 40 65 63 68 6f 20 6f 66 ┊ 66 0d 0a 69 66 20 25 31 │@echo of┊f__if %1│

has 16-bytes per line

> hexyl --panels 1 .\zipflop.bat
┌────────┬─────────────────────────┬────────┐
│00000000│ 40 65 63 68 6f 20 6f 66 │@echo of│

8 bytes per line.

Any way to have a single panel with 16 bytes per line, for example?

@Aaron-Rumpler
Copy link

Looks like there's no option to change it from 8 bytes per panel. I do have a draft PR (#149) which adds the ability to remove the separators between panes (amongst a few other formatting options), but it's quite out of date (a bunch of PRs with new features (like the --panels option) that change the same code have been merged since). I might have another look at it soon.

@Guigui220D
Copy link

Additionally, it would be nice to be able to break every n bytes, for instance you want to see frames of 50 bytes, then you could specify break at 50 so that each frame start is neatly aligned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants