Cleared.
This commit is contained in:
parent
44b288497a
commit
e573efc2ad
4
main.c
4
main.c
@ -315,7 +315,9 @@ void init() {
|
|||||||
|
|
||||||
void handle_sigint(int sig) {
|
void handle_sigint(int sig) {
|
||||||
time_t current_time = time(NULL);
|
time_t current_time = time(NULL);
|
||||||
|
int ret = system("clear");
|
||||||
|
(void)ret;
|
||||||
|
printf("\n");
|
||||||
if (sigint_count == 0) {
|
if (sigint_count == 0) {
|
||||||
first_sigint_time = current_time;
|
first_sigint_time = current_time;
|
||||||
sigint_count++;
|
sigint_count++;
|
||||||
|
Loading…
Reference in New Issue
Block a user