0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-01 16:28:19 +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;
refs.for_each([&out](const m::event::idx &idx)
{
out << "> " << idx << " " << m::event_id(idx)
<< std::endl;
const m::event::fetch event{idx};
out << "> " << idx << " " << pretty_oneline(event) << std::endl;
return true;
});
}