linter
This commit is contained in:
@@ -44,7 +44,7 @@ inline void error(const std::string& msg) {
|
||||
}
|
||||
|
||||
// CR
|
||||
inline void CR() {
|
||||
inline void cr() {
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ inline void CR() {
|
||||
inline void dots(const std::string& prefix,
|
||||
const std::string& middle,
|
||||
const std::string& suffix,
|
||||
const std::string& suffixColor = GREEN) {
|
||||
const std::string& suffix_color = GREEN) {
|
||||
size_t field_width = TOTAL_WIDTH > (prefix.size() + suffix.size())
|
||||
? TOTAL_WIDTH - prefix.size() - suffix.size()
|
||||
: 0;
|
||||
@@ -65,7 +65,7 @@ inline void dots(const std::string& prefix,
|
||||
}
|
||||
|
||||
std::cout << " " << prefix << field_text
|
||||
<< suffixColor << suffix << RESET
|
||||
<< suffix_color << suffix << RESET
|
||||
<< "\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user