util.human.io: Use literal ellipsis instead of \u escape
authorKim Alvefur <zash@zash.se>
Thu, 04 Jun 2020 18:36:47 +0200
changeset 10913 3af3354366eb
parent 10912 18dc4639442e
child 10914 e890b83f08cf
util.human.io: Use literal ellipsis instead of \u escape For compat with Lua 5.2 and before
util/human/io.lua
--- a/util/human/io.lua	Thu Jun 04 18:32:33 2020 +0200
+++ b/util/human/io.lua	Thu Jun 04 18:36:47 2020 +0200
@@ -136,7 +136,7 @@
 					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