Merge pull request 'Console: Stop `tasks` from hanging in `std::sort`.' (#256) from tursiae/tangara-fw:tasks into main

Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/256
custom
ailurux 2 months ago
commit 90b302a9f4
  1. 4
      src/tangara/app_console/app_console.cpp

@ -286,9 +286,9 @@ int CmdTasks(int argc, char** argv) {
} }
} }
std::sort(info_strings.begin(), info_strings.end(), std::sort(info_strings.rbegin(), info_strings.rend(),
[](const auto& first, const auto& second) { [](const auto& first, const auto& second) {
return first.first >= second.first; return first.first < second.first;
}); });
std::cout << "name\t\t"; std::cout << "name\t\t";

Loading…
Cancel
Save