fix wrong output in MS-DOS console when execute "status-window"
Change-Id: I4b20ee47636b32dbfdc9ad1864000c96df1c61d7
Signed-off-by: greatim <jaewon81.lim@samsung.com>
#include <stdio.h>
#include <limits.h>
+#include <stdlib.h>
+
#include "utils.h"
#include "fdevent.h"
}
}
+#ifdef OS_WINDOWS
+ system("cls");
+ printf("\n");
+#else
printf("%c[2J%c[2H", 27, 27);
+#endif
+
printf("Smart Development Bridge\n");
printf("State: %s\n", state ? state : "offline");
fflush(stdout);