aboutsummaryrefslogtreecommitdiffstats
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
commit7dacb1176e6c042ea407b9973dfe9a7ecd32bda0 (patch)
tree949e553d91d09cdee81a8b480935823f844e9c34
parentd2f09cb37f8cadb2a6de205b93a7e9c80d29c5d2 (diff)
downloadprosody-7dacb1176e6c042ea407b9973dfe9a7ecd32bda0.tar.gz
prosody-7dacb1176e6c042ea407b9973dfe9a7ecd32bda0.zip
util.human.io: Use literal ellipsis instead of \u escape
For compat with Lua 5.2 and before
-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