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)