Changeset

10909:3af3354366eb

util.human.io: Use literal ellipsis instead of \u escape For compat with Lua 5.2 and before
author Kim Alvefur <zash@zash.se>
date Thu, 04 Jun 2020 18:36:47 +0200
parents 10908:18dc4639442e
children 10910:e890b83f08cf
files util/human/io.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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