aboutsummaryrefslogtreecommitdiffstats
path: root/core/cell.moon
diff options
context:
space:
mode:
Diffstat (limited to 'core/cell.moon')
-rw-r--r--core/cell.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cell.moon b/core/cell.moon
index f023b25..3567a6d 100644
--- a/core/cell.moon
+++ b/core/cell.moon
@@ -123,7 +123,7 @@ class Cell
buf ..= '...'
else
for i, child in ipairs @children
- buf ..= child\stringify depth - 1
+ buf ..= child\stringify if depth == -1 then -1 else depth - 1
buf ..= if depth > 0 then ' ' else @white[i]
if depth > 0