scansion/console.lua

changeset 145
df4faaa2d36f
parent 133
e087dd875160
child 146
885fa9f5929d
--- a/scansion/console.lua	Wed Sep 12 10:56:51 2018 +0100
+++ b/scansion/console.lua	Wed Sep 12 10:57:23 2018 +0100
@@ -1,7 +1,7 @@
 local pretty = require "scansion.pretty".new({});
 
-local function lines(l)
-	return table.concat(l, "\n");
+local function lines(l, indent)
+	return table.concat(l, "\n"..string.rep(" ", indent or 0));
 end
 
 local handlers = {

mercurial