fix: auto-clear cl-tty cache before TUI startup

Every passepartout tui run now deletes stale cl-tty fasls,
ensuring the latest backend-size fixes (ioctl fd0, env vars,
stty size, tput) are always compiled in.
This commit is contained in:
2026-05-14 13:38:56 -04:00
parent 7cb43a953d
commit c4c1629816

View File

@@ -409,6 +409,8 @@ LISPEOF
# Export terminal dimensions — bash sets COLUMNS/LINES but
# doesn't export them to subprocesses by default.
export COLUMNS LINES
# 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
;;
gateway)