SRSENB: quitsafter entering 'q\n'

This commit is contained in:
Xavier Arteaga 2019-10-17 16:41:31 +02:00 committed by Andre Puschmann
parent 10480f62b3
commit 8e92baf401
1 changed files with 3 additions and 1 deletions

View File

@ -380,10 +380,12 @@ void *input_loop(void *m)
cout << "Enter t to restart trace." << endl;
}
metrics->toggle_print(do_metrics);
} else if ('q' == key) {
sig_int_handler(0);
}
}
}
return NULL;
return nullptr;
}
int main(int argc, char *argv[])