réplica de
https://github.com/Arnau478/quark.git
synced 2024-11-23 12:58:07 +01:00
CLEAR command
This commit is contained in:
pare
77661a8f6f
commit
16eac4556d
S'han modificat 1 arxius amb 3 adicions i 0 eliminacions
|
@ -19,6 +19,9 @@ int shell_run(char *cmd){
|
||||||
else if(!strcmp(cmd, "CALLOC")){
|
else if(!strcmp(cmd, "CALLOC")){
|
||||||
printf("Allocated and zeroed 10 chars:\n%x\n", kcalloc(10, sizeof(char)));
|
printf("Allocated and zeroed 10 chars:\n%x\n", kcalloc(10, sizeof(char)));
|
||||||
}
|
}
|
||||||
|
else if(!strcmp(cmd, "CLEAR")){
|
||||||
|
clear_screen();
|
||||||
|
}
|
||||||
else{
|
else{
|
||||||
printf("SHELL: Unknown command \"%s\"\n", cmd);
|
printf("SHELL: Unknown command \"%s\"\n", cmd);
|
||||||
ret = 127;
|
ret = 127;
|
||||||
|
|
Loading…
Referencia en una nova incidència