From ad5b9669a64df5e8f4063c6c311819250a6ebc5d Mon Sep 17 00:00:00 2001 From: Amr Gharbeia Date: Thu, 14 May 2026 15:26:00 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20revert=20w=E2=86=92chat-w=20replacement?= =?UTF-8?q?=20outside=20view-chat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit view-status and view-sidebar don't have chat-w bound. Reverted lines 78 and 236 to use w instead of chat-w. --- org/channel-tui-view.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org/channel-tui-view.org b/org/channel-tui-view.org index 09889c9..b563921 100644 --- a/org/channel-tui-view.org +++ b/org/channel-tui-view.org @@ -75,7 +75,7 @@ Returns a list of strings, one per line." (dotimes (col w) (cl-tty.backend:draw-text fb 0 (- h 1) (make-string w :initial-element #\Space) nil bg)) (cl-tty.backend:draw-text fb 1 (- h 1) left fg nil) - (cl-tty.backend:draw-text fb (- chat-w (length right) 2) (- h 1) right fg nil))) + (cl-tty.backend:draw-text fb (- w (length right) 2) (- h 1) right fg nil))) ;; v0.7.2: search-highlight — wrap matching text in **bold** for markdown @@ -233,7 +233,7 @@ Returns a list of strings, one per line." "Render the right-side sidebar panel with warm colors." (let* ((w (or (and (numberp w) (> w 0) w) 80)) (h (or (and (numberp h) (> h 0) h) 24)) - (x (- chat-w (or (st :sidebar-width) 30))) + (x (- w (or (st :sidebar-width) 30))) (y 0)) ;; Vertical separator (dotimes (row h)