Commit bd65fed2 authored by Ercan Ersoy's avatar Ercan Ersoy

Using _clearscreen()

Using _clearscreen(_GCLEARSCREEN) function instead of system('CLS').
parent 6e117d46
No preview for this file type
......@@ -5,6 +5,7 @@
#include <direct.h>
#include <dos.h>
#include <graph.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
......@@ -27,7 +27,7 @@ void command_run(char const* command)
mouse_deinit();
// Clear screen
system("CLS");
_clearscreen(_GCLEARSCREEN);
// Run command
system(command);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment