From a06816b66ac8526c57ae08e17e8305ea15277002 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 25 Mar 2019 17:44:44 -0700 Subject: [PATCH] modules/console: Prefix event::idx to room events line output. --- modules/console.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/console.cc b/modules/console.cc index 098b3e3a0..7bec4ad82 100644 --- a/modules/console.cc +++ b/modules/console.cc @@ -7840,7 +7840,8 @@ console_cmd__room__events(opt &out, const string_view &line) << " " << it.event_id() << std::endl; else - out << pretty_oneline(*it) + out << std::left << std::setw(10) << it.event_idx() << " " + << pretty_oneline(*it) << std::endl; return true;