From afe27f2b41cc502b35f65d54c0d74e4403f4da1e Mon Sep 17 00:00:00 2001 From: mcplayer3 <219271061+mcplayer3@users.noreply.github.com> Date: Wed, 17 Jun 2026 10:39:04 +1000 Subject: [PATCH] bedit: oops --- halyde/apps/bedit.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/halyde/apps/bedit.lua b/halyde/apps/bedit.lua index b249de9..3d1807b 100644 --- a/halyde/apps/bedit.lua +++ b/halyde/apps/bedit.lua @@ -144,7 +144,7 @@ while true do end cursorX = cursorX - 1 end - if keyboard.keys[eventArgs[4]] == "right" and cursorX < string.len(lines[cursorY]) then -- TODO: make scrolling up and down lines that are shorter than cursorX snap to the end of the line + if keyboard.keys[eventArgs[4]] == "right" and cursorX < string.len(lines[cursorY]) then if cursorX - scrollX >= resX then renderBufferFlag = true scrollX = scrollX + 1