pixel / hexedit

View and edit files in hexadecimal or in ASCII
http://rigaux.org/hexedit.html
GNU General Public License v2.0
98 stars 41 forks source link

Feature add selection begin, end and size. Some changes. #38

Open Oscar65 opened 5 years ago

Oscar65 commented 5 years ago

Added selection begin, end and size in status line. Added char '>' at end of status line when the file name doesn't fit. Moved file name at end of status line, so when the file name is too long doesn't hide position, size, percentage and selection. Added clrtoeol after displayLine to clear to end of line because if you load with F3 and file name have chars beyond ASCII, it leaves these chars as garbage. Also updated to use clrtoeol to cleanup the line. fix core dump when file size is 0 (trying to show percentage).