This commit is contained in:
2025-11-21 03:45:38 +07:00
parent d219cc1a7b
commit 5cbfe19d48
12 changed files with 242 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#include "func.h"
void clear(void){
printf("\033[H\033[J");
}
int flush(void){
int c;
while ((c = getchar()) != '\n')
if (c<32 && c!='\t') return 1;
return 0;
}
int end(int c){
if (c<32 && c!= '\n' && c!='\t') return 1;
return 0;
}