From 036f7a10277b0f3d4d2abcaf1b2ce64ea4d33bf2 Mon Sep 17 00:00:00 2001 From: justuswolff Date: Mon, 16 Feb 2026 20:49:36 +0100 Subject: [PATCH] make turtle go back to starting position after printing --- src/main.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.lua b/src/main.lua index 07fe829..5a2a1b5 100644 --- a/src/main.lua +++ b/src/main.lua @@ -456,6 +456,10 @@ local function printdes(buf, dimensions) cx,cz,direction = moveto(1,1,cx,cz,direction) move("up") end + moveto(0,0, cx,cz, direction) + for _=1,dimensions["y"]*(4)+1,1 do -- go back to starting position + move("down") + end center(direction) end