From e02f358963d6bc7e1386711552323bdb8b7f1c86 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 14 May 2020 06:47:48 -0700 Subject: [PATCH] modules/console: Fix column width in vm cmd output. --- modules/console.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/console.cc b/modules/console.cc index 480164903..718927f58 100644 --- a/modules/console.cc +++ b/modules/console.cc @@ -14918,7 +14918,7 @@ console_cmd__vm(opt &out, const string_view &line) out << std::endl; out - << std::right << std::setw(5) << "ID" << " " + << std::right << std::setw(8) << "ID" << " " << std::right << std::setw(4) << "CTX" << " " << std::left << std::setw(8) << " " << " " << std::left << std::setw(24) << "USER" << " " @@ -14956,7 +14956,7 @@ console_cmd__vm(opt &out, const string_view &line) }; out - << std::right << std::setw(5) << eval->id << " " + << std::right << std::setw(8) << eval->id << " " << std::right << std::setw(4) << (eval->ctx? ctx::id(*eval->ctx) : 0UL) << " " << std::left << std::setw(8) << (eval->ctx? trunc(ctx::name(*eval->ctx), 8) : string_view{}) << " " << std::left << std::setw(24) << trunc(eval->opts->node_id?: eval->opts->user_id, 24) << " "