Commit 2bf4284f by Maarten L. Hekkelman

cleanup

parent d9e2fc97
...@@ -418,8 +418,7 @@ if(ENABLE_TESTING) ...@@ -418,8 +418,7 @@ if(ENABLE_TESTING)
find_package(Boost REQUIRED) find_package(Boost REQUIRED)
list(APPEND CIFPP_tests unit-v2 unit-3d format model rename-compound sugar list(APPEND CIFPP_tests unit-v2 unit-3d format model rename-compound sugar spinner)
)
foreach(CIFPP_TEST IN LISTS CIFPP_tests) foreach(CIFPP_TEST IN LISTS CIFPP_tests)
set(CIFPP_TEST "${CIFPP_TEST}-test") set(CIFPP_TEST "${CIFPP_TEST}-test")
......
...@@ -191,7 +191,7 @@ void progress_bar_impl::run() ...@@ -191,7 +191,7 @@ void progress_bar_impl::run()
continue; continue;
if (not printedAny and isatty(STDOUT_FILENO)) if (not printedAny and isatty(STDOUT_FILENO))
fputs("\e[?25l", stdout); std::cout << "\e[?25l";
print_progress(); print_progress();
...@@ -206,7 +206,7 @@ void progress_bar_impl::run() ...@@ -206,7 +206,7 @@ void progress_bar_impl::run()
{ {
print_done(); print_done();
if (isatty(STDOUT_FILENO)) if (isatty(STDOUT_FILENO))
fputs("\e[?25h", stdout); std::cout << "\e[?25h";
} }
} }
......
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