0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-12 04:51:08 +01:00

modules/console: Use better status/flags in table output.

This commit is contained in:
Jason Volk 2019-09-11 09:09:52 -07:00
parent 0dea9db7ea
commit 7ca872006e

View file

@ -4991,20 +4991,20 @@ try
if(request.tag)
out << std::setw(4) << uint(request.tag->state.status) << " ";
else
out << std::setw(4) << "CNL" << " ";
out << std::setw(4) << "CNCL" << " ";
if(request.tag && request.tag->committed())
out << std::setw(4) << "COM" << " ";
out << std::setw(4) << "PIPE" << " ";
else
out << std::setw(4) << " " << " ";
if(request.tag && request.tag->abandoned())
out << std::setw(4) << "ABN" << " ";
out << std::setw(4) << "LEFT" << " ";
else
out << std::setw(4) << " " << " ";
if(request.tag && request.tag->canceled())
out << std::setw(4) << "CNL" << " ";
out << std::setw(4) << "CNCL" << " ";
else
out << std::setw(4) << " " << " ";