0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +01:00

modules/console: Fix missing newline; improve fetch list formatting.

This commit is contained in:
Jason Volk 2019-04-12 14:00:52 -07:00
parent 1063fcb657
commit d090382551

View file

@ -12264,13 +12264,14 @@ console_cmd__fetch__list(opt &out, const string_view &line)
(const m::fetch::request &request)
{
out
<< std::left << std::setw(48) << request.event_id << " "
<< std::left << std::setw(32) << request.room_id << " "
<< std::left << std::setw(64) << trunc(request.event_id, 64) << " "
<< std::left << std::setw(40) << trunc(request.room_id, 40) << " "
<< std::left << std::setw(32) << trunc(request.origin, 32) << " "
<< std::left << "S:" << request.started << " "
<< std::left << "A:" << request.attempted.size() << " "
<< std::left << "E:" << bool(request.eptr) << " "
<< std::left << "F:" << request.finished << " "
<< std::endl
;
return true;