0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-01 21:28:53 +02:00

modules/console: pretty_oneline() event info references.

This commit is contained in:
Jason Volk 2019-02-07 03:59:09 -08:00
parent 657c8e6902
commit 3528bb41bc

View file

@ -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;
}); });
} }