display: move prog name and version to the bottom
@@ -157,9 +157,8 @@ static void display_displayLocked(honggfuzz_t* hfuzz) {
MX_SCOPED_LOCK(logMutexGet());
display_put(ESC_NAV(13, 1) ESC_CLEAR_ABOVE ESC_NAV(1, 1));
- display_put("---------------------[" ESC_BOLD "%31s " ESC_RESET "]-------/ " ESC_BOLD
- "%s %s" ESC_RESET " /-\n",
- timeStr, PROG_NAME, PROG_VERSION);
+ display_put("------------------------[" ESC_BOLD "%31s " ESC_RESET "]----------------------\n",
+ timeStr);
display_put(" Iterations : " ESC_BOLD "%" _HF_NONMON_SEP "zu" ESC_RESET, curr_exec_cnt);
display_printKMG(curr_exec_cnt);
if (hfuzz->mutationsMax) {
@@ -268,7 +267,8 @@ static void display_displayLocked(honggfuzz_t* hfuzz) {
ATOMIC_GET(hfuzz->sanCovCnts.crashesCnt));
}
display_put("\n---------------------------------- [ " ESC_BOLD "LOGS" ESC_RESET
- " ] ------------------------------------\n");
+ " ] ------------------/ " ESC_BOLD "%s %s " ESC_RESET "/-\n",
+ PROG_NAME, PROG_VERSION);
display_put(ESC_SCROLL(13, 999) ESC_SCROLL_VERT(999));
}
