aboutsummaryrefslogtreecommitdiffstats
path: root/util/human
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-06-04 18:36:47 +0200
committerKim Alvefur <zash@zash.se>2020-06-04 18:36:47 +0200
commit87777b26af1c1c63f90e1e0e8f9f3c18490322c1 (patch)
tree949e553d91d09cdee81a8b480935823f844e9c34 /util/human
parent435cd193730136205057c8cbed1c4095573303eb (diff)
downloadprosody-87777b26af1c1c63f90e1e0e8f9f3c18490322c1.tar.gz
prosody-87777b26af1c1c63f90e1e0e8f9f3c18490322c1.zip
util.human.io: Use literal ellipsis instead of \u escape
For compat with Lua 5.2 and before
Diffstat (limited to 'util/human')
-rw-r--r--util/human/io.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/human/io.lua b/util/human/io.lua
index 389ed25a..8d987355 100644
--- a/util/human/io.lua
+++ b/util/human/io.lua
@@ -136,7 +136,7 @@ local function new_table(col_specs, max_width)
v = padright(v, width);
end
elseif #v > width then
- v = v:sub(1, width-1) .. "\u{2026}";
+ v = v:sub(1, width-1) .. "…";
end
table.insert(output, v);
end