From 330ffc43c45af340aee3f6d5c3ed5b8ae9756621 Mon Sep 17 00:00:00 2001 From: PSLLSP <6446102+PSLLSP@users.noreply.github.com> Date: Sun, 10 Dec 2023 10:51:14 +0100 Subject: [PATCH 1/2] Do not clear screen at startup --- ccminer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/ccminer.cpp b/ccminer.cpp index c303c093e..da9d714aa 100644 --- a/ccminer.cpp +++ b/ccminer.cpp @@ -3442,7 +3442,6 @@ int main(int argc, char *argv[]) // get opt_quiet early parse_single_opt('q', argc, argv); - Clear(); printf("*************************************************************\n"); printf("* ccminer CPU: " PACKAGE_VERSION " for Verushash v2.2.2 based on ccminer *\n"); printf("*************************************************************\n"); From 0dd82775dff128d4dcbb4d0eb814d6e38cdbbd30 Mon Sep 17 00:00:00 2001 From: PSLLSP <6446102+PSLLSP@users.noreply.github.com> Date: Sun, 10 Dec 2023 10:52:05 +0100 Subject: [PATCH 2/2] Clear() is not needed anymore, removed --- ccminer.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ccminer.cpp b/ccminer.cpp index da9d714aa..a68d6f83d 100644 --- a/ccminer.cpp +++ b/ccminer.cpp @@ -3421,18 +3421,6 @@ BOOL WINAPI ConsoleHandler(DWORD dwType) } #endif -void Clear() -{ -#if defined _WIN32 - system("cls"); -#elif defined (__LINUX__) || defined(__gnu_linux__) || defined(__linux__) - system("clear"); -#elif defined (__APPLE__) - system("clear"); -#endif -} - - int main(int argc, char *argv[]) { struct thr_info *thr;