/* * cons_cls.h * * Created on: Nov 6, 2024 * Author: true */ #ifndef USER_SHELL_COMMANDS_CLS_H_ #define USER_SHELL_COMMANDS_CLS_H_ void cons_cls(int argc, char **argv) { if (!argc) { CONS_PRINT("...clears the screen. just try it."); return; } CONS_PRINT("\x1B[2J\x1B[0;0H"); } #endif /* USER_SHELL_COMMANDS_CLS_H_ */