shorten dataset name to maximum length

This commit is contained in:
2024-03-16 23:37:37 +01:00
parent 9c11dee019
commit 67487ffce1
4 changed files with 11 additions and 9 deletions

View File

@@ -91,7 +91,7 @@ namespace platform {
totalScore += r["score"].get<double>();
}
if (data["results"].size() == 1 || selectedIndex != -1) {
sbody << std::string(MAXL, '*') << std::endl;
sbody << Colors::MAGENTA() << std::string(MAXL, '*') << std::endl;
if (lastResult.find("notes") != lastResult.end()) {
if (lastResult["notes"].size() > 0) {
sbody << headerLine("Notes: ");