mirror of
https://github.com/matrix-construct/construct
synced 2024-11-18 07:50:57 +01:00
modules/console: Fix missing newline; improve fetch list formatting.
This commit is contained in:
parent
1063fcb657
commit
d090382551
1 changed files with 3 additions and 2 deletions
|
@ -12264,13 +12264,14 @@ console_cmd__fetch__list(opt &out, const string_view &line)
|
||||||
(const m::fetch::request &request)
|
(const m::fetch::request &request)
|
||||||
{
|
{
|
||||||
out
|
out
|
||||||
<< std::left << std::setw(48) << request.event_id << " "
|
<< std::left << std::setw(64) << trunc(request.event_id, 64) << " "
|
||||||
<< std::left << std::setw(32) << request.room_id << " "
|
<< std::left << std::setw(40) << trunc(request.room_id, 40) << " "
|
||||||
<< std::left << std::setw(32) << trunc(request.origin, 32) << " "
|
<< std::left << std::setw(32) << trunc(request.origin, 32) << " "
|
||||||
<< std::left << "S:" << request.started << " "
|
<< std::left << "S:" << request.started << " "
|
||||||
<< std::left << "A:" << request.attempted.size() << " "
|
<< std::left << "A:" << request.attempted.size() << " "
|
||||||
<< std::left << "E:" << bool(request.eptr) << " "
|
<< std::left << "E:" << bool(request.eptr) << " "
|
||||||
<< std::left << "F:" << request.finished << " "
|
<< std::left << "F:" << request.finished << " "
|
||||||
|
<< std::endl
|
||||||
;
|
;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue