# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1680868044 -3600
# Node ID 946442df65d3e98ff7b3082befcdc42de5413b68
# Parent  d939bf469057b5116ae514b9abc38d135e9e5590
util.human.io: table: Return determined width as a second result

This allows callers to adjust other things based on the width of the rows
(such as header lines).

diff -r d939bf469057 -r 946442df65d3 util/human/io.lua
--- a/util/human/io.lua	Fri Apr 07 13:42:20 2023 +0200
+++ b/util/human/io.lua	Fri Apr 07 12:47:24 2023 +0100
@@ -194,7 +194,7 @@
 			table.insert(output, v);
 		end
 		return table.concat(output, separator);
-	end;
+	end, max_width;
 end
 
 return {