From b6ceb2525a1b2241f7bdf8fb8a5379fdaa2e70b0 Mon Sep 17 00:00:00 2001 From: Amr Gharbeia Date: Thu, 14 May 2026 13:46:37 -0400 Subject: [PATCH] fix: remove useless export COLUMNS/LINES from script SBCL strips these from the environment regardless. --- passepartout | 6 ------ 1 file changed, 6 deletions(-) diff --git a/passepartout b/passepartout index f233c4d..fb7d337 100755 --- a/passepartout +++ b/passepartout @@ -406,12 +406,6 @@ case "$COMMAND" in (sleep 3) (finish-output) (uiop:quit 1)))) (passepartout.channel-tui:tui-main)) LISPEOF - # Set terminal dimensions from stty — bash's $COLUMNS/$LINES - # are often missing or not exported. stty size always works. - local ts=$(stty size 2>/dev/null) - export COLUMNS="${ts#* }" LINES="${ts% *}" - [ -z "$COLUMNS" ] && COLUMNS=80 - [ -z "$LINES" ] && LINES=24 # Clear stale cl-tty cache to ensure latest backend-size fixes find ~/.cache/common-lisp -name "*.fasl" -path "*cl-tty*" -delete 2>/dev/null exec sbcl --noinform --load /tmp/tui-load.lisp