mirror of
https://github.com/matrix-construct/construct
synced 2024-11-30 02:32:43 +01:00
modules/console: pretty_oneline() event info references.
This commit is contained in:
parent
657c8e6902
commit
3528bb41bc
1 changed files with 2 additions and 3 deletions
|
@ -5536,9 +5536,8 @@ console_cmd__event(opt &out, const string_view &line)
|
||||||
out << "+ REFERENCES " << refs.count() << std::endl;
|
out << "+ REFERENCES " << refs.count() << std::endl;
|
||||||
refs.for_each([&out](const m::event::idx &idx)
|
refs.for_each([&out](const m::event::idx &idx)
|
||||||
{
|
{
|
||||||
out << "> " << idx << " " << m::event_id(idx)
|
const m::event::fetch event{idx};
|
||||||
<< std::endl;
|
out << "> " << idx << " " << pretty_oneline(event) << std::endl;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue