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

New settings to cutomize how bytes data are displayed #26

Merged
merged 1 commit into from
Nov 13, 2023
Merged

Conversation

pfayolle
Copy link
Collaborator

Fixes #25

Added two new settings that the user can set with the "set" command:

  • byte_data_display_mode list ou hexdump:
    • list: The bytes will be displayed as a python list (e.g. [0x01, 0x02, 0x03])
    • hexdump: The bytes will be displayed using a hexadecimal dump format, similar to the output of the xxd command
  • byte_data_max_len: The maximum number of bytes to display for either display mode. Set this to 0 to remove the limit and display all bytes.

Copy link
Collaborator

@nvincent-vossloh nvincent-vossloh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add markdown documentation regarding this new option.

usage.md Outdated Show resolved Hide resolved
usage.md Show resolved Hide resolved
@pfayolle pfayolle merged commit bc4d8d6 into main Nov 13, 2023
2 checks passed
@pfayolle pfayolle deleted the issue-25 branch November 13, 2023 12:50
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

Successfully merging this pull request may close these issues.

Bytearray preview too small
2 participants