|
this commit should have been a lot of smaller commits.
1: draws to an alternate screen now
2: better behavior around buffering the currently viewed region
3: sketched out something to track edits
(one day it'll be a real hex *editor*)
4: start moving to sanely declare layout sizes
view_interface_height(), view_byte_height(), bytes_per_line()...
5: support accepting an address to seek to.
this is the start of proper UI states
6: extract logic to draw a particular line of bytes out
eventually support base64 lines, bit-level edits
currently just mirrors the original hex layout.
|