Skip to content

Commit

Permalink
Cleanup animation output formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamSimpson committed Jan 11, 2018
1 parent b96fd73 commit 5620c19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Client/include/WaitingAnimation.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class WaitingAnimation {
const auto prefix = message + ": ";

// If an error occurs before the thread is created still print a message
std::cout << prefix;
std::cout << prefix << ". ";

// If debug logging is enabled don't do any animation as it might interfere with debug printing
if(Logger::get_max_priority() >= LogPriority::info) {
Expand Down Expand Up @@ -70,7 +70,7 @@ class WaitingAnimation {
animation.join();

// Move cursor to start of initial animation message
// std::cout<<"\b\b\b";
std::cout<<"\b\b\b";

std::cout<<message<<std::endl;
}
Expand Down

0 comments on commit 5620c19

Please sign in to comment.