fix: add (require :sb-posix) before SIGWINCH handler

sb-posix is a built-in SBCL contrib, available via require.
Without it, sb-posix:sigwinch causes a reader error and the
eval-when for the SIGWINCH handler never executes, making
*terminal-resized-p* always nil and resize detection broken.
This commit is contained in:
2026-05-14 13:30:38 -04:00
parent 5e9a974981
commit 03ffec75c8

View File

@@ -224,6 +224,7 @@ Returns a mouse-event struct."
#+sbcl #+sbcl
(eval-when (:load-toplevel :execute) (eval-when (:load-toplevel :execute)
(require :sb-posix)
(sb-sys:enable-interrupt sb-posix:sigwinch (sb-sys:enable-interrupt sb-posix:sigwinch
(lambda (signal info context) (lambda (signal info context)
(declare (ignore signal info context)) (declare (ignore signal info context))