ndd7xv / heh

A terminal UI to edit bytes by the nibble.
MIT License
435 stars 18 forks source link

Option to read file from an offset #39

Closed yuankunzhang closed 1 year ago

yuankunzhang commented 1 year ago

Closes #38 and fixes some linting issues.

Added an --offset option to allow read file from a given offset. The behavior of the option is described as below:

ndd7xv commented 1 year ago

Hey again! Nice to see you around and thanks for the PR :smile:

I was testing out your changes and added some tweaks with the intent of improving the user features - most notably, these changes allow users to look at data earlier in the file even if they specify the --offset flag.

Let me know if you think there's anything wrong with what I've done, or if it breaks anything (I can ultimately revert or overhaul my changes if need be). If I get approval or don't hear back after a while, I'll go ahead and squash + merge!

yuankunzhang commented 1 year ago

@ndd7xv That's awesome!