From 4e0b825fcce26b290479aa95c96ab1e06db0e45d Mon Sep 17 00:00:00 2001 From: Amr Gharbeia Date: Wed, 20 May 2026 09:57:49 -0400 Subject: [PATCH] v1.2.0: remove spurious \n from draw-rect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit draw-rect wrote \n after each row's fill, including the last row at the bottom of the frame. This caused a terminal scroll, shifting all content up by 1 and leaving the last row blank (terminal default bg). cursor-move-escape at the start of each iteration already repositions the cursor — the \n was never needed. --- org/modern-backend.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org/modern-backend.org b/org/modern-backend.org index d1c8889..9a42e69 100644 --- a/org/modern-backend.org +++ b/org/modern-backend.org @@ -817,7 +817,7 @@ color. (line (concatenate 'string bg-esc (make-string width :initial-element #\Space) - reset (string #\Newline)))) + reset ""))) (loop :for row :from 0 :below height :do (backend-write b (cursor-move-escape x (+ y row))) (backend-write b line))))