fix: remove useless export COLUMNS/LINES from script

SBCL strips these from the environment regardless.
This commit is contained in:
2026-05-14 13:46:37 -04:00
parent 337b8cdd86
commit b6ceb2525a

View File

@@ -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