diff options
author | Kim Alvefur <zash@zash.se> | 2020-06-06 16:43:28 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-06-06 16:43:28 +0200 |
commit | cf640c8ded8615a2721208df1274b1eeee5a2b42 (patch) | |
tree | add9ec4247e7efa2d62962d15a08d0bac4141f6d /util | |
parent | bcb73345a91c30fe9979c557e7cae2870dc97c08 (diff) | |
download | prosody-cf640c8ded8615a2721208df1274b1eeee5a2b42.tar.gz prosody-cf640c8ded8615a2721208df1274b1eeee5a2b42.zip |
util.human.io: Fix right-alignment
Diffstat (limited to 'util')
-rw-r--r-- | util/human/io.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/human/io.lua b/util/human/io.lua index 7285c79f..a38ab5dd 100644 --- a/util/human/io.lua +++ b/util/human/io.lua @@ -134,7 +134,7 @@ local function new_table(col_specs, max_width) 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 |