소스 검색

Fix screen clear function and test git

Zhilong Li 4 년 전
부모
커밋
6c1f45bb23
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      CMakeLists.txt
  2. 2 2
      include/process_bar.hpp

+ 2 - 2
CMakeLists.txt

@@ -1,7 +1,7 @@
-cmake_minimum_required(VERSION 3.19)
+cmake_minimum_required(VERSION 3.16)
 project(CppYoutube)
 
 set(CMAKE_CXX_STANDARD 17)
 
 include_directories(include)
-add_executable(CppYoutube main.cpp)
+add_executable(CppYoutube main.cpp)

+ 2 - 2
include/process_bar.hpp

@@ -8,7 +8,7 @@ void rotate()
     while (i < 100)
     {
         cout << rotater[i % 4];
-        system("clear");
+        system("reset");
         i++;
     }
-}
+}