From 588f56075c4bf738333f641c73dd0aa94f0bbabd Mon Sep 17 00:00:00 2001 From: neru Date: Thu, 8 May 2025 13:08:07 -0300 Subject: [PATCH] fix: index calculation --- lua/CC Tweaked/tutel/tutel-host.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/CC Tweaked/tutel/tutel-host.lua b/lua/CC Tweaked/tutel/tutel-host.lua index 54c8a22..ee201d0 100644 --- a/lua/CC Tweaked/tutel/tutel-host.lua +++ b/lua/CC Tweaked/tutel/tutel-host.lua @@ -361,7 +361,7 @@ function drawCommandBar(w, y) term.write("$ ") - local startingIndex = commandBuffer:len() - w - 3 + local startingIndex = commandBuffer:len() - w + 3 if startingIndex < 0 then startingIndex = 0 end