madsen / vbindiff

Visual Binary Diff (VBinDiff) displays files in hex & ASCII and can highlight the differences between 2 files
479 stars 52 forks source link

handle SIGINT #10

Open rofl0r opened 7 years ago

rofl0r commented 7 years ago

many ncurses programs such as hexedit use SIGINT (CTRL-C) as the command to shut down the application, but when one does the same with vbindiff, the terminal modes are not properly reset, leaving a messed up terminal that can not even be restored completely with reset command. so practically everytime i used vbindiff, this happened to me, accompanied by a "sh... it happened again".