br0xen / boltbrowser

A CLI Browser for BoltDB Files
GNU General Public License v3.0
631 stars 91 forks source link

Add two commands: convert the ascii to decimal and convert binary to UTC #31

Open sofat1989 opened 5 years ago

sofat1989 commented 5 years ago

image

the key 'd': convert the ascii to decimal image

the key 't': convert the binary to UTC image

This window's mode is modeBrowse. Using q and esc will quit the program. So here exiting this modeBrowse window needs two steps:

  1. click enter: enter the modeChange window
  2. click q and esc: exit the window
br0xen commented 5 years ago

I like what you've done here, and would like to have more functionality like this, but I don't know that the use-case is universal enough to warrant main key-events...

What I'd rather see for this is something like a 'convert' sub screen that manages these in some way. Maybe even with a workflow like: type a value in the box, specify an external command then boltbrowser passes that to the external app and captures the output to save.

Thanks for the contribution, though! I'm glad that you're getting good usage out of boltbrowser!

br0xen commented 5 years ago

After some discussions that I've had with others I now understand the need for what you're doing. I've created an issue to try to help resolve this. I'll keep this pull request open until I have a solution in place in the main branch.

Thank you again for contributing!