# HG changeset patch # User Kim Alvefur # Date 1591454608 -7200 # Node ID 1eb83bc6f706b6d6edbb09f58803eb62d40152a4 # Parent c7ed8f754033296de479b86096a23513e753422b util.human.io: Fix right-alignment diff -r c7ed8f754033 -r 1eb83bc6f706 spec/scansion/prosody.cfg.lua --- a/spec/scansion/prosody.cfg.lua Sat Jun 06 00:54:28 2020 +0200 +++ b/spec/scansion/prosody.cfg.lua Sat Jun 06 16:43:28 2020 +0200 @@ -13,7 +13,9 @@ admins = { "admin@localhost" } -use_libevent = true +network_backend = "epoll" +network_settings = { +} modules_enabled = { -- Generally required @@ -99,7 +101,7 @@ -- Logging configuration -- For advanced logging see https://prosody.im/doc/logging -log = "*console" +log = {debug = "*console" } pidfile = "prosody.pid" diff -r c7ed8f754033 -r 1eb83bc6f706 util/human/io.lua --- a/util/human/io.lua Sat Jun 06 00:54:28 2020 +0200 +++ b/util/human/io.lua Sat Jun 06 16:43:28 2020 +0200 @@ -134,7 +134,7 @@ local v = (not titles and column.mapper or tostring)(row[not titles and column.key or i] or "", row); if #v < width then if column.align == "right" then - v = padleft(v, width-1).." "; + v = padleft(v, width); else v = padright(v, width); end