Skip to content

Commit

Permalink
Merge pull request lunasorcery#29 from landfillbaby/main
Browse files Browse the repository at this point in the history
use background color instead of block character
  • Loading branch information
lunasorcery authored Jun 19, 2020
2 parents 26cd445 + bc3ec5e commit 92396b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,12 +292,12 @@ void parseCommandLine(int argc, char** argv) {
}
}
if (g_useColors) {
printf(" ");
putc(' ', stdout);
for (const auto& color : flag.second.colors) {
setTextColor(color);
printf("");
setBackgroundColor(color);
putc(' ', stdout);
}
resetTextColor();
resetBackgroundColor();
}
printf("\n");
printf(" %s\n\n", flag.second.description.c_str());
Expand Down

0 comments on commit 92396b1

Please sign in to comment.